summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-12-09 16:25:25 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-12-09 16:25:25 (GMT)
commitb9787a965f8d414b0d505ba48d10c0d4a5082d69 (patch)
tree14ecef09aa1bd3e8ceb2879fa09f3e78e10d4cca /Source/kwsys/CMakeLists.txt
parent945dfe5c8e020e73be6d36349ec29d0404b27c25 (diff)
downloadCMake-b9787a965f8d414b0d505ba48d10c0d4a5082d69.zip
CMake-b9787a965f8d414b0d505ba48d10c0d4a5082d69.tar.gz
CMake-b9787a965f8d414b0d505ba48d10c0d4a5082d69.tar.bz2
BUG: revert yesterday patch. The implementation was correct. The problem was that _WIN32 was forced to be #define on cygwin when included from ITK, which was miss matching the implementation from the declaration. Put extra condition for CYGWIN system
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 69b536b..b3febd2 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -718,9 +718,7 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
${KWSYS_C_SRCS} ${KWSYS_CXX_SRCS})
IF(KWSYS_USE_DynamicLoader)
IF(UNIX)
- IF(NOT CYGWIN AND NOT MINGW)
- TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} ${CMAKE_DL_LIBS})
- ENDIF(NOT CYGWIN AND NOT MINGW)
+ TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} ${CMAKE_DL_LIBS})
ENDIF(UNIX)
ENDIF(KWSYS_USE_DynamicLoader)