diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 14:11:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 14:11:31 (GMT) |
commit | b133abe42303c941f624c56079c8c0402a800e72 (patch) | |
tree | cd768c9c92e5cecbfa98ccdd8e7da1cf83339fe8 /Modules | |
parent | 538f38596fbd788248aafbf94bcee12897e21277 (diff) | |
download | CMake-b133abe42303c941f624c56079c8c0402a800e72.zip CMake-b133abe42303c941f624c56079c8c0402a800e72.tar.gz CMake-b133abe42303c941f624c56079c8c0402a800e72.tar.bz2 |
ENH: fix for darwin modules
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 5a6068c..a411bba 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -1,6 +1,8 @@ SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib") +SET(CMAKE_SHARED_MODULE_PREFIX "lib") SET(CMAKE_SHARED_MODULE_SUFFIX ".so") +SET(CMAKE_MODULE_EXISTS 1) SET(CMAKE_DL_LIBS "") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib") SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -flat_namespace -undefined suppress") |