X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=4a9e2d1972ff0eac6d6fa3a179349405fa6ea669;hb=0998e973a71f551af2f24ae49c9b748359a61be8;hp=64b436468a4423d47582daeb7cd9a41d4116bbaa;hpb=f5c7e83afd484a025285c64a09a89bd227087245;p=gdcm.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 64b43646..4a9e2d19 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -65,10 +65,16 @@ TARGET_LINK_LIBRARIES(gdcm ) IF(WIN32) IF(NOT BORLAND) - TARGET_LINK_LIBRARIES(gdcm Wsock32) + TARGET_LINK_LIBRARIES(gdcm Wsock32 Snmpapi) 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})