From a9e4220796f2c82638027f1eef4ff393f1118c99 Mon Sep 17 00:00:00 2001 From: notroot Date: Tue, 11 Oct 2011 21:07:30 -0400 Subject: fix win compile switch 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") -- cgit v0.10.1