# HG changeset patch
# User Sebastien Jodogne <s.jodogne@gmail.com>
# Date 1723813127 -7200
# Node ID ff1aefb43763c08dc43a65c6a5a09b9b3864a41e
# Parent  5e78572f0b2ecda457cf9eb821fa4a7914cc9403
sync

diff -r 5e78572f0b2e -r ff1aefb43763 OrthancStone/Resources/Orthanc/CMake/Compiler.cmake
--- a/OrthancStone/Resources/Orthanc/CMake/Compiler.cmake	Fri Aug 16 10:19:41 2024 +0200
+++ b/OrthancStone/Resources/Orthanc/CMake/Compiler.cmake	Fri Aug 16 14:58:47 2024 +0200
@@ -232,6 +232,10 @@
   endif()
 
 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
+
+  # fix this error that appears with recent compilers on MacOS: boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion]
+  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-enum-constexpr-conversion")
+
   add_definitions(
     -D_XOPEN_SOURCE=1
     )
diff -r 5e78572f0b2e -r ff1aefb43763 OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake
--- a/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake	Fri Aug 16 10:19:41 2024 +0200
+++ b/OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake	Fri Aug 16 14:58:47 2024 +0200
@@ -163,6 +163,8 @@
         set(ORTHANC_FRAMEWORK_MD5 "d2476b9e796e339ac320b5333489bdb3")
       elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.3")
         set(ORTHANC_FRAMEWORK_MD5 "975f5bf2142c22cb1777b4f6a0a614c5")
+      elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.4")
+        set(ORTHANC_FRAMEWORK_MD5 "1e61779ea4a7cd705720bdcfed8a6a73")
 
       # Below this point are development snapshots that were used to
       # release some plugin, before an official release of the Orthanc