changeset 68:43f3d9f1985d

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 22:14:25 +0100
parents 2f162e8b19ba (current diff) 00011257d54e (diff)
children 7cd9be8b8594
files CMakeLists.txt
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Nov 22 07:53:56 2023 +0100
+++ b/CMakeLists.txt	Wed Dec 20 22:14:25 2023 +0100
@@ -189,4 +189,7 @@
   COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0
   )
 
-DefineSourceBasenameForTarget(UnitTests)
\ No newline at end of file
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(OrthancTransfers)
+  DefineSourceBasenameForTarget(UnitTests)
+endif()