]> Creatis software - gdcm.git/blobdiff - src/CMakeLists.txt
2005-01-11 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
[gdcm.git] / src / CMakeLists.txt
index 64b436468a4423d47582daeb7cd9a41d4116bbaa..4a9e2d1972ff0eac6d6fa3a179349405fa6ea669 100644 (file)
@@ -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})