Mercurial > hg > orthanc-webviewer
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}