changeset 57:26a230647a73

support of os x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 01 Aug 2015 18:31:00 +0200
parents b7bc8509cbcc
children b3259b9c6dfb
files CMakeLists.txt NEWS
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Jul 31 11:17:31 2015 +0200
+++ b/CMakeLists.txt	Sat Aug 01 18:31:00 2015 +0200
@@ -124,6 +124,11 @@
   SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${CMAKE_SOURCE_DIR}/Orthanc/Plugins/Samples/Common/VersionScript.map -Wl,--no-undefined")
 endif()
 
+if (APPLE)
+  SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework CoreFoundation")
+  SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -framework CoreFoundation")
+endif()
+ 
 
 set(CORE_SOURCES
   ${BOOST_SOURCES}
--- a/NEWS	Fri Jul 31 11:17:31 2015 +0200
+++ b/NEWS	Sat Aug 01 18:31:00 2015 +0200
@@ -3,6 +3,7 @@
 
 * Update to Boost 1.58.0 for static and Windows builds
 * Inject version information into Windows binaries
+* Support of OS X
 
 
 Version 1.1 (2015-07-03)