changeset 2109:9aa99c45cfaa

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 21:46:19 +0100
parents 7cff3c404430
children 352cb0fa57b2
files RenderingPlugin/CMakeLists.txt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/RenderingPlugin/CMakeLists.txt	Mon Dec 18 22:41:49 2023 +0100
+++ b/RenderingPlugin/CMakeLists.txt	Wed Dec 20 21:46:19 2023 +0100
@@ -94,6 +94,10 @@
   ${ORTHANC_STONE_SOURCES}
   )
 
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(StoneRendering)
+endif()
+
 set_target_properties(StoneRendering PROPERTIES 
   VERSION ${PLUGIN_VERSION} 
   SOVERSION ${PLUGIN_VERSION})