changeset 264:b3bd2e74af1f inbox

integration mainline->inbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 Aug 2025 16:54:44 +0200
parents 624172833314 (current diff) 934c8049a285 (diff)
children 3ab100e87012
files CMakeLists.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Aug 08 15:29:09 2025 +0200
+++ b/CMakeLists.txt	Fri Aug 08 16:54:44 2025 +0200
@@ -40,7 +40,7 @@
 
 # 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")
-set(ORTHANC_SDK_VERSION "1.12.4" CACHE STRING "Version of the Orthanc plugin SDK to use, if not using the system version (can be \"1.11.3\" \"1.12.4\")")
+set(ORTHANC_SDK_VERSION "1.12.4" CACHE STRING "Version of the Orthanc plugin SDK to use, if not using the system version (can be \"1.11.3\", \"1.12.4\", or \"framework\")")
 
 # Download and setup the Orthanc framework
 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake)
@@ -89,7 +89,7 @@
   elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.4")
     include_directories(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Sdk-1.12.4)
   elseif (ORTHANC_SDK_VERSION STREQUAL "framework")
-    include_directories(${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/)
+    include_directories(${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include)
   else()
     message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}")
   endif()