Mercurial > hg > orthanc-object-storage
changeset 241:9fd2419b17b3
fix build on recent cmake
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 13 May 2026 09:03:42 +0200 |
| parents | 1205e4bda548 |
| children | 17d6930d17f0 |
| files | Aws/CMakeLists.txt Azure/CMakeLists.txt Google/CMakeLists.txt |
| diffstat | 3 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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 <http://www.gnu.org/licenses/>. -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)
--- 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 <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.3...4.0) project(OrthancAzureBlobStorage)
--- 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 <http://www.gnu.org/licenses/>. -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.3...4.0) project(OrthancGoogleCloudStorage)
