diff options
| author | notroot <notroot@debian.localdomain> | 2011-10-12 01:07:30 (GMT) | 
|---|---|---|
| committer | notroot <notroot@debian.localdomain> | 2011-10-12 01:07:30 (GMT) | 
| commit | a9e4220796f2c82638027f1eef4ff393f1118c99 (patch) | |
| tree | f418796e26e2bfabdece6bec2369f9e54670a389 /tests | |
| parent | 55f4a6150f4f8bc6fe5c3c17d3d38c73efefe9f2 (diff) | |
fix win compile switch
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 4 | 
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") | 
