summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-08-31 17:08:32 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-08-31 17:23:31 -0300
commit2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a (patch)
tree19b86198ddcd6d71380e50a6dcac17cdbb3edc12 /CMakeLists.txt
parent821885b67d27844c0ecfe9ef7b753e640e96eb6c (diff)
downloadshiboken-2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a.tar.gz
shiboken-2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a.tar.xz
shiboken-2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a.zip
Use the correct path separator on Windows.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da048567..6d94e8b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,12 @@ else()
endif()
endif()
+if (WIN32)
+ set(PATH_SEP "\;")
+else()
+ set(PATH_SEP ":")
+endif()
+
if(WIN32 OR AVOID_PROTECTED_HACK)
message(STATUS "Avoiding protected hack!")
add_definitions("-DAVOID_PROTECTED_HACK")