changeset 14:bc6fdc32133b

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 21:50:04 +0100
parents 7f77ea98e42c
children ec47d2182ac6
files CMakeLists.txt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Nov 22 08:01:42 2023 +0100
+++ b/CMakeLists.txt	Wed Dec 20 21:50:04 2023 +0100
@@ -183,6 +183,10 @@
   ${ORTHANC_VOLVIEW_SOURCES}
   )
 
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(OrthancVolView)
+endif()
+
 add_dependencies(OrthancVolView AutogeneratedTarget)
 
 message("Setting the version of the library to ${ORTHANC_VOLVIEW_VERSION}")