diff CMakeLists.txt @ 892:517e28b420af plugins

integration mainline -> plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jun 2014 15:41:13 +0200
parents 4066e6f2d134 816dccaeb7cf
children bafc9d592632
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Jun 16 15:40:58 2014 +0200
+++ b/CMakeLists.txt	Mon Jun 16 15:41:13 2014 +0200
@@ -398,7 +398,8 @@
     ${GOOGLE_LOG_SOURCES}
     )
 
-  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
+      ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
     set_target_properties(OrthancClient
       PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed -Wl,--version-script=${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/Laaw/VersionScript.map"
       )