comparison OrthancServer/Plugins/Samples/MultitenantDicom/CMakeLists.txt @ 5357:fddb5d8d0021

Prevent the leak of the full path of the source files in the binaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jul 2023 17:04:31 +0200
parents 7cb1b851f5c8
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5354:65b4e6ae2703 5357:fddb5d8d0021
53 ${ORTHANC_CORE_SOURCES} 53 ${ORTHANC_CORE_SOURCES}
54 ${ORTHANC_DICOM_SOURCES} 54 ${ORTHANC_DICOM_SOURCES}
55 ${AUTOGENERATED_SOURCES} 55 ${AUTOGENERATED_SOURCES}
56 ) 56 )
57 57
58 DefineSourceBasenameForTarget(MultitenantDicom)
59
58 target_link_libraries(MultitenantDicom ${DCMTK_LIBRARIES}) 60 target_link_libraries(MultitenantDicom ${DCMTK_LIBRARIES})
59 61
60 message("Setting the version of the plugin to ${ORTHANC_PLUGIN_VERSION}") 62 message("Setting the version of the plugin to ${ORTHANC_PLUGIN_VERSION}")
61 add_definitions(-DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}") 63 add_definitions(-DORTHANC_PLUGIN_VERSION="${ORTHANC_PLUGIN_VERSION}")
62 64