]> 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 e963377..d9ff433 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)