summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotroot <notroot@debian.localdomain>2011-10-12 01:07:30 (GMT)
committernotroot <notroot@debian.localdomain>2011-10-12 01:07:30 (GMT)
commita9e4220796f2c82638027f1eef4ff393f1118c99 (patch)
treef418796e26e2bfabdece6bec2369f9e54670a389
parent55f4a6150f4f8bc6fe5c3c17d3d38c73efefe9f2 (diff)
fix win compile switch
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index b9a5355..dec1fa6 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -8,7 +8,9 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
endif()
-set(WIN32_STATIC_BUILD "True")
+if (WIN32)
+ set(WIN32_STATIC_BUILD "True")
+endif()
if(WIN32_STATIC_BUILD)
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
contact: Jan Huwald // Impressum