# HG changeset patch # User Alain Mazy # Date 1778655822 -7200 # Node ID 9fd2419b17b3a184b609ed0f3913f3e4cd834d8e # Parent 1205e4bda548c714db387aec6766b4860f17a863 fix build on recent cmake diff -r 1205e4bda548 -r 9fd2419b17b3 Aws/CMakeLists.txt --- a/Aws/CMakeLists.txt Mon Apr 27 19:01:47 2026 +0200 +++ b/Aws/CMakeLists.txt Wed May 13 09:03:42 2026 +0200 @@ -17,7 +17,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8...4.0) project(OrthancAwsS3Storage) @@ -225,10 +225,10 @@ ${ORTHANC_FRAMEWORK_LIBRARIES} ) -if (STATIC_BUILD OR NOT USE_VCPKG_PACKAGES) - add_dependencies(OrthancAwsS3Storage AwsSdkCpp) - add_dependencies(UnitTests AwsSdkCpp) -endif() +# if (STATIC_BUILD OR NOT USE_VCPKG_PACKAGES) +# add_dependencies(OrthancAwsS3Storage AwsSdkCpp) +# add_dependencies(UnitTests AwsSdkCpp) +# endif() if (COMMAND DefineSourceBasenameForTarget) DefineSourceBasenameForTarget(OrthancAwsS3Storage) diff -r 1205e4bda548 -r 9fd2419b17b3 Azure/CMakeLists.txt --- a/Azure/CMakeLists.txt Mon Apr 27 19:01:47 2026 +0200 +++ b/Azure/CMakeLists.txt Wed May 13 09:03:42 2026 +0200 @@ -17,7 +17,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.3...4.0) project(OrthancAzureBlobStorage) diff -r 1205e4bda548 -r 9fd2419b17b3 Google/CMakeLists.txt --- a/Google/CMakeLists.txt Mon Apr 27 19:01:47 2026 +0200 +++ b/Google/CMakeLists.txt Wed May 13 09:03:42 2026 +0200 @@ -17,7 +17,7 @@ # along with this program. If not, see . -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.3...4.0) project(OrthancGoogleCloudStorage)