comparison OrthancServer/Plugins/Samples/Sanitizer/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 0ea402b4d901
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5354:65b4e6ae2703 5357:fddb5d8d0021
49 Plugin.cpp 49 Plugin.cpp
50 ${ORTHANC_CORE_SOURCES} 50 ${ORTHANC_CORE_SOURCES}
51 ${ORTHANC_DICOM_SOURCES} 51 ${ORTHANC_DICOM_SOURCES}
52 ) 52 )
53 53
54 DefineSourceBasenameForTarget(Sanitizer)
55
54 target_link_libraries(Sanitizer ${DCMTK_LIBRARIES}) 56 target_link_libraries(Sanitizer ${DCMTK_LIBRARIES})
55 57
56 58
57 install( 59 install(
58 TARGETS Sanitizer 60 TARGETS Sanitizer