diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 17:08:32 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 17:23:31 -0300 |
commit | 2a5ad3e48e5a148bc87bd6dbb74c695dd352a79a (patch) | |
tree | 19b86198ddcd6d71380e50a6dcac17cdbb3edc12 /CMakeLists.txt | |
parent | 821885b67d27844c0ecfe9ef7b753e640e96eb6c (diff) |
Use the correct path separator on Windows.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index da0485679..6d94e8b7d 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") |