]> Creatis software - gdcm.git/commitdiff
COMP: Fix compilation in macosx, for more info read the comment
authormalaterre <malaterre>
Wed, 8 Jun 2005 17:08:58 +0000 (17:08 +0000)
committermalaterre <malaterre>
Wed, 8 Jun 2005 17:08:58 +0000 (17:08 +0000)
src/gdcmjasper/CMakeLists.txt

index e9633774611556cdfd1227080605738b83dd454e..d9ff433d1c9e0f071d9846bc31fb855c6f36e385 100644 (file)
@@ -1,3 +1,8 @@
 PROJECT(GDCMJASPER C)
 
+# Don't ask my why...
+IF(APPLE)
+  SET(CMAKE_SHARED_LINKER_FLAGS "-single_module")
+ENDIF(APPLE)
+
 SUBDIRS(src)