]> Creatis software - gdcm.git/commitdiff
COMP: Need some special lib on apple
authormalaterre <malaterre>
Sat, 8 Jan 2005 00:16:25 +0000 (00:16 +0000)
committermalaterre <malaterre>
Sat, 8 Jan 2005 00:16:25 +0000 (00:16 +0000)
src/CMakeLists.txt

index fff6249448f2318d9754fca3fb0636fb20d3ae5f..4a9e2d1972ff0eac6d6fa3a179349405fa6ea669 100644 (file)
@@ -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})