summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-25 15:22:13 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-25 15:31:39 -0200
commit907842acf4baa9e520431157bf1b0293476d65c3 (patch)
treeba5c8e06cf02f60c255953918f6f60c068040794 /CMakeLists.txt
parent6e11fa52dd2d02bb9e4a5cf6aeb1e25e62770ea3 (diff)
downloadshiboken-907842acf4baa9e520431157bf1b0293476d65c3.tar.gz
shiboken-907842acf4baa9e520431157bf1b0293476d65c3.tar.xz
shiboken-907842acf4baa9e520431157bf1b0293476d65c3.zip
Fix compilation errors on Windows.
Reviewer: Renato Ara├║jo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e87f621..80eb5d38 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,7 @@ endif()
if(WIN32 OR AVOID_PROTECTED_HACK)
message(STATUS "Avoiding protected hack!")
add_definitions("-DAVOID_PROTECTED_HACK")
+ set(AVOID_PROTECTED_HACK ON)
else()
message(STATUS "Using protected hack!")
endif()