comparison CMakeLists.txt @ 8:6d59828e2662

removal of Orthanc namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jun 2015 10:55:32 +0200
parents c584c25a74fd
children 1fb480a156fd
comparison
equal deleted inserted replaced
7:39730d6727f3 8:6d59828e2662
115 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR 115 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR
116 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") 116 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
117 set_target_properties(OrthancClient 117 set_target_properties(OrthancClient
118 PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed -Wl,--version-script=${CMAKE_SOURCE_DIR}/Resources/Laaw/VersionScript.map" 118 PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed -Wl,--version-script=${CMAKE_SOURCE_DIR}/Resources/Laaw/VersionScript.map"
119 ) 119 )
120 target_link_libraries(OrthancClient pthread) 120 target_link_libraries(OrthancClient pthread dl)
121 121
122 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 122 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
123 target_link_libraries(OrthancClient ws2_32) 123 target_link_libraries(OrthancClient ws2_32)
124 124
125 if (CMAKE_CROSSCOMPILING) 125 if (CMAKE_CROSSCOMPILING)