From c5f65a991b6968bdcb42edd7935be6f6a2be327e Mon Sep 17 00:00:00 2001 From: malaterre Date: Sat, 8 Jan 2005 00:16:25 +0000 Subject: [PATCH] COMP: Need some special lib on apple --- src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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}) -- 2.48.1