changeset 50:c2faa911b51d

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 21:45:06 +0100
parents c71a008fc1e3
children f9fe97e893c0
files CMakeLists.txt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Nov 22 07:59:30 2023 +0100
+++ b/CMakeLists.txt	Wed Dec 20 21:45:06 2023 +0100
@@ -156,6 +156,10 @@
   ${ORTHANC_CORE_SOURCES}
   )  
 
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(OrthancGoogleCloudPlatform)
+endif()
+
 set_target_properties(OrthancGoogleCloudPlatform PROPERTIES 
   VERSION ${GCP_PLUGIN_VERSION} 
   SOVERSION ${GCP_PLUGIN_VERSION})