diff Azure/CMakeLists.txt @ 132:573585bcc9ff

fix test about presence of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 Dec 2023 09:09:17 +0100
parents 9520a6d10992
children f35c3281e62f
line wrap: on
line diff
--- a/Azure/CMakeLists.txt	Wed Nov 29 09:42:26 2023 +0100
+++ b/Azure/CMakeLists.txt	Wed Dec 13 09:09:17 2023 +0100
@@ -121,7 +121,7 @@
     ${COMMON_SOURCES}
   )
 
-if (DEFINED DefineSourceBasenameForTarget)
+if (COMMAND DefineSourceBasenameForTarget)
   DefineSourceBasenameForTarget(OrthancAzureBlobStorage)
 endif()