diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 15:23:48 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 15:23:48 (GMT) |
commit | ae7fdcf6a944be23ca31ccbd5602caaacbfb42aa (patch) | |
tree | 67998ed3818d0f8ee3bd121b331f545c393ba29c /Source/kwsys | |
parent | fe6fc8192c75eb885814a520238f8063162996ea (diff) | |
download | CMake-ae7fdcf6a944be23ca31ccbd5602caaacbfb42aa.zip CMake-ae7fdcf6a944be23ca31ccbd5602caaacbfb42aa.tar.gz CMake-ae7fdcf6a944be23ca31ccbd5602caaacbfb42aa.tar.bz2 |
COMP: Fix cygwin build
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 47c4269..f1ee84d 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -516,9 +516,9 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS) # If kwsys contains the DynamicLoader, need extra library IF(KWSYS_USE_DynamicLoader) ADD_LIBRARY(testDynload SHARED testDynload.c) - IF(UNIX) + IF(UNIX AND NOT CYGWIN) TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} dl) - ENDIF(UNIX) + ENDIF(UNIX AND NOT CYGWIN) ENDIF(KWSYS_USE_DynamicLoader) # Apply user-defined target properties to the library. |