comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 272:c7dc70a0a477

upgrade to Orthanc SDK 1.9.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Apr 2021 14:09:46 +0200
parents 35598014f140
children a116dbdf9118
comparison
equal deleted inserted replaced
271:6b18d3fbee82 272:c7dc70a0a477
30 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.4.0) 30 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.4.0)
31 elseif (ORTHANC_SDK_VERSION STREQUAL "1.5.2") 31 elseif (ORTHANC_SDK_VERSION STREQUAL "1.5.2")
32 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.5.2) 32 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.5.2)
33 elseif (ORTHANC_SDK_VERSION STREQUAL "1.5.4") 33 elseif (ORTHANC_SDK_VERSION STREQUAL "1.5.4")
34 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.5.4) 34 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.5.4)
35 elseif (ORTHANC_SDK_VERSION STREQUAL "1.9.2")
36 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.9.2)
35 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") 37 elseif (ORTHANC_SDK_VERSION STREQUAL "framework")
36 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/) 38 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/)
37 message(${tmp}) 39 message(${tmp})
38 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h) 40 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h)
39 message(FATAL_ERROR "Your copy of the Orthanc framework doesn't contain the Orthanc plugin SDK") 41 message(FATAL_ERROR "Your copy of the Orthanc framework doesn't contain the Orthanc plugin SDK")