Mercurial > hg > orthanc-transfers
diff CMakeLists.txt @ 54:5915547fa6f2
upgraded SDK and framework to 1.11.3
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 03 Feb 2023 18:44:53 +0100 |
parents | 5493447a0d28 |
children | e4ee1b80f94a |
line wrap: on
line diff
--- a/CMakeLists.txt Fri Feb 03 18:24:06 2023 +0100 +++ b/CMakeLists.txt Fri Feb 03 18:44:53 2023 +0100 @@ -24,7 +24,7 @@ set(ORTHANC_FRAMEWORK_VERSION "mainline") set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") else() - set(ORTHANC_FRAMEWORK_VERSION "1.9.3") + set(ORTHANC_FRAMEWORK_VERSION "1.11.3") set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") endif() @@ -33,7 +33,7 @@ set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")") 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(ORTHANC_SDK_VERSION "1.5.0" CACHE STRING "Version of the Orthanc plugin SDK to use, if not using the system version (can be \"1.5.0\")") +set(ORTHANC_SDK_VERSION "1.11.3" CACHE STRING "Version of the Orthanc plugin SDK to use, if not using the system version (can be \"1.5.0\", \"1.11.3\")") # Advanced parameters to fine-tune linking against system libraries set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") @@ -83,6 +83,8 @@ if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) if (ORTHANC_SDK_VERSION STREQUAL "1.5.0") include_directories(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Sdk-1.5.0) + elseif (ORTHANC_SDK_VERSION STREQUAL "1.11.3") + include_directories(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Sdk-1.11.3) else() message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}") endif()