Mercurial > hg > orthanc-stl
comparison CMakeLists.txt @ 49:0a408a81fb15 nexus
upgraded Orthanc SDK to 1.2.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 17 May 2024 14:05:28 +0200 |
parents | 9b2a2fcc9878 |
children | c322c949bd8e |
comparison
equal
deleted
inserted
replaced
48:a70fc4846be1 | 49:0a408a81fb15 |
---|---|
56 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") | 56 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") |
57 set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") | 57 set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") |
58 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") | 58 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") |
59 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") | 59 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") |
60 | 60 |
61 # New in release 2.0 | 61 # New in release 1.1 |
62 set(ENABLE_NEXUS OFF CACHE BOOL "Include support for Nexus 3D models") | 62 set(ENABLE_NEXUS ON CACHE BOOL "Include support for Nexus 3D models") |
63 | 63 |
64 # Advanced parameters to fine-tune linking against system libraries | 64 # Advanced parameters to fine-tune linking against system libraries |
65 SET(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") | 65 SET(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") |
66 | 66 |
67 # Parameters to fine-tune linking against system libraries | 67 # Parameters to fine-tune linking against system libraries |
114 ##################################################################### | 114 ##################################################################### |
115 ## Find the Orthanc SDK | 115 ## Find the Orthanc SDK |
116 ##################################################################### | 116 ##################################################################### |
117 | 117 |
118 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 118 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
119 include_directories(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Sdk-1.0.0) | 119 include_directories(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Sdk-1.2.0) |
120 else () | 120 else () |
121 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) | 121 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) |
122 if (NOT HAVE_ORTHANC_H) | 122 if (NOT HAVE_ORTHANC_H) |
123 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") | 123 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") |
124 endif() | 124 endif() |