From: malaterre Date: Wed, 8 Jun 2005 17:08:58 +0000 (+0000) Subject: COMP: Fix compilation in macosx, for more info read the comment X-Git-Tag: Version1.2.bp~564 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2cd0e0a4abad3d7007c146734e6467af115a1c22;p=gdcm.git COMP: Fix compilation in macosx, for more info read the comment --- diff --git a/src/gdcmjasper/CMakeLists.txt b/src/gdcmjasper/CMakeLists.txt index e9633774..d9ff433d 100644 --- a/src/gdcmjasper/CMakeLists.txt +++ b/src/gdcmjasper/CMakeLists.txt @@ -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)