summaryrefslogtreecommitdiffstats
path: root/Tests/Jump
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-17 14:46:24 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-17 14:46:24 (GMT)
commitd89e238e6c4b22fe3fde0f8e1e7987fb05f13aeb (patch)
tree91c170a808739e7aaa9049f6775e57ae5c267d2a /Tests/Jump
parentda0a8f7f448a6ebbf39f50199f661b63a1cdc261 (diff)
downloadCMake-d89e238e6c4b22fe3fde0f8e1e7987fb05f13aeb.zip
CMake-d89e238e6c4b22fe3fde0f8e1e7987fb05f13aeb.tar.gz
CMake-d89e238e6c4b22fe3fde0f8e1e7987fb05f13aeb.tar.bz2
Cygwin: Fix tests to check CYGWIN instead of WIN32
Use "UNIX AND NOT CYGWIN" to detect a "soname" platform. Use "WIN32 OR CYGWIN" to detect a "DLL" platform.
Diffstat (limited to 'Tests/Jump')
-rw-r--r--Tests/Jump/Library/Shared/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Jump/Library/Shared/CMakeLists.txt b/Tests/Jump/Library/Shared/CMakeLists.txt
index 46d4d36..4440577 100644
--- a/Tests/Jump/Library/Shared/CMakeLists.txt
+++ b/Tests/Jump/Library/Shared/CMakeLists.txt
@@ -1,8 +1,8 @@
ADD_LIBRARY(jumpShared SHARED jumpShared.cxx)
-IF(WIN32)
+IF(WIN32 OR CYGWIN)
SET(SHARED_MUST_BE_IN_EXE_DIR 1)
-ENDIF(WIN32)
+ENDIF()
IF(APPLE)
SET(SHARED_MUST_BE_IN_EXE_DIR 1)