# HG changeset patch # User Alain Mazy # Date 1700842562 -3600 # Node ID fe51b4fb5132c2a3a6bda7e501b489b159424e2a # Parent dd0068c709370efaa8967c528fd4a48432b77aba fix framework version diff -r dd0068c70937 -r fe51b4fb5132 Aws/CMakeLists.txt --- a/Aws/CMakeLists.txt Fri Nov 24 15:40:57 2023 +0100 +++ b/Aws/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 @@ -25,7 +25,7 @@ set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") else() - set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "b83192e7ad10") # TODO: update to web - 1.12.2 when available + set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") # TODO: update to web - 1.12.2 when available set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") endif() diff -r dd0068c70937 -r fe51b4fb5132 Azure/CMakeLists.txt --- a/Azure/CMakeLists.txt Fri Nov 24 15:40:57 2023 +0100 +++ b/Azure/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 @@ -21,12 +21,22 @@ set(PLUGIN_VERSION "mainline") -include(CheckIncludeFileCXX) +if (PLUGIN_VERSION STREQUAL "mainline") + set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") + set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") +else() + set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") # TODO: update to web - 1.12.2 when available + set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") +endif() -set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source") -set(ORTHANC_FRAMEWORK_VERSION "b83192e7ad10" CACHE STRING "orthanc framework version") # TODO: update to web - 1.12.2 when available +set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") +set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") +set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") +set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") set(ALLOW_DOWNLOADS ON) +include(CheckIncludeFileCXX) + # Download and setup the Orthanc framework include(${CMAKE_SOURCE_DIR}/../Common/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake) diff -r dd0068c70937 -r fe51b4fb5132 Google/CMakeLists.txt --- a/Google/CMakeLists.txt Fri Nov 24 15:40:57 2023 +0100 +++ b/Google/CMakeLists.txt Fri Nov 24 17:16:02 2023 +0100 @@ -21,12 +21,23 @@ set(PLUGIN_VERSION "mainline") -include(CheckIncludeFileCXX) +if (PLUGIN_VERSION STREQUAL "mainline") + set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") + set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") +else() + set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") # TODO: update to web - 1.12.2 when available + set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") +endif() -set(ORTHANC_FRAMEWORK_SOURCE "hg" CACHE STRING "orthanc source") -set(ORTHANC_FRAMEWORK_VERSION "b83192e7ad10" CACHE STRING "orthanc framework version") # TODO: update to web - 1.12.2 when available +set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") +set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") +set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") +set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") set(ALLOW_DOWNLOADS ON) + +include(CheckIncludeFileCXX) + # Download and setup the Orthanc framework include(${CMAKE_SOURCE_DIR}/../Common/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake)