Mercurial > hg > orthanc-stone
diff Applications/Samples/RtViewerPlugin/CMakeLists.txt @ 2110:352cb0fa57b2
fixed handling of DefineSourceBasenameForTarget
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Dec 2023 22:20:58 +0100 |
parents | 3ef91da06636 |
children | c23eef785569 |
line wrap: on
line diff
--- a/Applications/Samples/RtViewerPlugin/CMakeLists.txt Wed Dec 20 21:46:19 2023 +0100 +++ b/Applications/Samples/RtViewerPlugin/CMakeLists.txt Wed Dec 20 22:20:58 2023 +0100 @@ -119,7 +119,9 @@ ${ORTHANC_CORE_SOURCES} ) -DefineSourceBasenameForTarget(RtViewerPlugin) +if (COMMAND DefineSourceBasenameForTarget) + DefineSourceBasenameForTarget(RtViewerPlugin) +endif() set_target_properties(RtViewerPlugin PROPERTIES VERSION ${ORTHANC_PLUGIN_VERSION}