summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-10 18:34:03 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-10 18:34:03 (GMT)
commitf90e7541008116d22209e5e1ffc0d9b4e6bc1a87 (patch)
tree3ade01051786b12754534a61f37036172e396870 /Source/kwsys/CMakeLists.txt
parent5623ef913fc4120f8d0e9bca92597f4ad9fd9d91 (diff)
downloadCMake-f90e7541008116d22209e5e1ffc0d9b4e6bc1a87.zip
CMake-f90e7541008116d22209e5e1ffc0d9b4e6bc1a87.tar.gz
CMake-f90e7541008116d22209e5e1ffc0d9b4e6bc1a87.tar.bz2
BUG: Fix DynamicLoader implementation on MacOSX (using old API)
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 1008792..6771d26 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -515,7 +515,7 @@ 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)
+ ADD_LIBRARY(testDynload MODULE testDynload.c)
IF(UNIX)
TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} ${CMAKE_DL_LIBS})
ENDIF(UNIX)