comparison OrthancServer/CMakeLists.txt @ 4763:bbe70c24bc60 Orthanc-1.9.6

hotfix for LSB precompiled binaries of Orthanc 1.9.6: reintegration of changeset 4761
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Aug 2021 08:49:42 +0200
parents cc64385593ef
children 61da49321754 7053502fbf97
comparison
equal deleted inserted replaced
4758:b1319a5304fb 4763:bbe70c24bc60
395 ${ORTHANC_RESOURCES} 395 ${ORTHANC_RESOURCES}
396 ) 396 )
397 397
398 target_link_libraries(Orthanc ServerLibrary CoreLibrary ${DCMTK_LIBRARIES}) 398 target_link_libraries(Orthanc ServerLibrary CoreLibrary ${DCMTK_LIBRARIES})
399 399
400 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
401 # The link flag below hides all the global functions so that a Linux
402 # Standard Base (LSB) build of Orthanc can load plugins that are not
403 # built using LSB (new in Orthanc 1.9.7)
404 set_property(
405 TARGET Orthanc
406 PROPERTY LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/Resources/VersionScriptOrthanc.map"
407 )
408 endif()
409
400 install( 410 install(
401 TARGETS Orthanc 411 TARGETS Orthanc
402 RUNTIME DESTINATION sbin 412 RUNTIME DESTINATION sbin
403 ) 413 )
404 414