comparison 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
comparison
equal deleted inserted replaced
891:d0a08d8881b7 892:517e28b420af
396 ${THIRD_PARTY_SOURCES} 396 ${THIRD_PARTY_SOURCES}
397 ${CURL_SOURCES} 397 ${CURL_SOURCES}
398 ${GOOGLE_LOG_SOURCES} 398 ${GOOGLE_LOG_SOURCES}
399 ) 399 )
400 400
401 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 401 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
402 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")
402 set_target_properties(OrthancClient 403 set_target_properties(OrthancClient
403 PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed -Wl,--version-script=${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/Laaw/VersionScript.map" 404 PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed -Wl,--version-script=${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/Laaw/VersionScript.map"
404 ) 405 )
405 target_link_libraries(OrthancClient pthread) 406 target_link_libraries(OrthancClient pthread)
406 407