Mercurial > hg > orthanc-databases
comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 94:badc89b06477 db-changes
upgrading orthanc sdk from 1.4.0 to 1.5.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Jan 2019 14:21:02 +0100 |
parents | 19764fc60ade |
children | 121ab36c87bd |
comparison
equal
deleted
inserted
replaced
93:5571a6554db0 | 94:badc89b06477 |
---|---|
25 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 25 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
26 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5") | 26 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5") |
27 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5) | 27 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5) |
28 elseif (ORTHANC_SDK_VERSION STREQUAL "1.4.0") | 28 elseif (ORTHANC_SDK_VERSION STREQUAL "1.4.0") |
29 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.4.0) | 29 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.4.0) |
30 elseif (ORTHANC_SDK_VERSION STREQUAL "1.5.2") | |
31 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.5.2) | |
30 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") | 32 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") |
31 include_directories(${ORTHANC_ROOT}/Plugins/Include) | 33 include_directories(${ORTHANC_ROOT}/Plugins/Include) |
32 else() | 34 else() |
33 message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}") | 35 message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}") |
34 endif() | 36 endif() |