Mercurial > hg > orthanc-object-storage
changeset 130:17f350ab12ca
conditional usage of DefineSourceBasenameForTarget
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 28 Nov 2023 14:11:11 +0100 |
parents | fe51b4fb5132 |
children | 9520a6d10992 |
files | Aws/CMakeLists.txt Azure/CMakeLists.txt Google/CMakeLists.txt |
diffstat | 3 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Aws/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 +++ b/Aws/CMakeLists.txt Tue Nov 28 14:11:11 2023 +0100 @@ -148,7 +148,9 @@ ${COMMON_SOURCES} ) -DefineSourceBasenameForTarget(OrthancAwsS3Storage) +if (DEFINED DefineSourceBasenameForTarget) + DefineSourceBasenameForTarget(OrthancAwsS3Storage) +endif() set_target_properties(OrthancAwsS3Storage PROPERTIES VERSION ${PLUGIN_VERSION}
--- a/Azure/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 +++ b/Azure/CMakeLists.txt Tue Nov 28 14:11:11 2023 +0100 @@ -121,7 +121,9 @@ ${COMMON_SOURCES} ) -DefineSourceBasenameForTarget(OrthancAzureBlobStorage) +if (DEFINED DefineSourceBasenameForTarget) + DefineSourceBasenameForTarget(OrthancAzureBlobStorage) +endif() set_target_properties(OrthancAzureBlobStorage PROPERTIES VERSION ${PLUGIN_VERSION}
--- a/Google/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 +++ b/Google/CMakeLists.txt Tue Nov 28 14:11:11 2023 +0100 @@ -97,7 +97,10 @@ ${COMMON_SOURCES} ) -DefineSourceBasenameForTarget(OrthancGoogleCloudStorage) +if (DEFINED DefineSourceBasenameForTarget) + DefineSourceBasenameForTarget(OrthancGoogleCloudStorage) +endif() + set_target_properties(OrthancGoogleCloudStorage PROPERTIES VERSION ${PLUGIN_VERSION}