From: malaterre Date: Sat, 8 Jan 2005 00:16:25 +0000 (+0000) Subject: COMP: Need some special lib on apple X-Git-Tag: Version1.0.bp~417 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c5f65a991b6968bdcb42edd7935be6f6a2be327e;p=gdcm.git COMP: Need some special lib on apple --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fff62494..4a9e2d19 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -69,6 +69,12 @@ IF(WIN32) ENDIF(NOT BORLAND) ENDIF(WIN32) +#Need additional library for the MacAddress code in gdcmUtil.cxx +IF(APPLE) + TARGET_LINK_LIBRARIES(gdcm "-framework IOKit" "-framework CoreFoundation") +ENDIF(APPLE) + + #The following is not working because when a header file is not found it tries #to find one in the binary dir #INSTALL_FILES(/include .h ${libgdcm_la_SOURCES})