diff Aws/CMakeLists.txt @ 146:5decdf0f0ef7

trying to build aws for windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jun 2024 18:15:26 +0200
parents 3c7e0374f28e
children 88d8841501a3
line wrap: on
line diff
--- a/Aws/CMakeLists.txt	Thu May 30 22:35:35 2024 +0200
+++ b/Aws/CMakeLists.txt	Thu Jun 20 18:15:26 2024 +0200
@@ -27,7 +27,7 @@
   set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
 else()
-  set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.12.2")
+  set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.12.4")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
 endif()
 
@@ -151,10 +151,6 @@
   ${COMMON_SOURCES}
   )
 
-if (COMMAND DefineSourceBasenameForTarget)
-  DefineSourceBasenameForTarget(OrthancAwsS3Storage)
-endif()
-
 set_target_properties(OrthancAwsS3Storage PROPERTIES
   VERSION ${PLUGIN_VERSION}
   SOVERSION ${PLUGIN_VERSION}
@@ -195,3 +191,8 @@
   add_dependencies(OrthancAwsS3Storage AwsSdkCpp)
   add_dependencies(UnitTests AwsSdkCpp)
 endif()
+
+if (COMMAND DefineSourceBasenameForTarget)
+  DefineSourceBasenameForTarget(OrthancAwsS3Storage)
+  DefineSourceBasenameForTarget(UnitTests)
+endif()