changeset 67:00011257d54e OrthancTransfers-1.3

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 22:13:05 +0100
parents df1c66770d38
children 43f3d9f1985d 0898578d5708
files CMakeLists.txt
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Thu Jan 26 09:30:19 2023 +0100
+++ b/CMakeLists.txt	Wed Dec 20 22:13:05 2023 +0100
@@ -182,3 +182,8 @@
 set_target_properties(UnitTests PROPERTIES
   COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0
   )
+
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(OrthancTransfers)
+  DefineSourceBasenameForTarget(UnitTests)
+endif()