comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 28:c0cb5d2cd696

checks depending on Orthanc version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jul 2018 14:48:43 +0200
parents d17b2631bb67
children 6a574d810b98
comparison
equal deleted inserted replaced
27:173176f8cef2 28:c0cb5d2cd696
23 23
24 24
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")
29 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.4.0)
28 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") 30 elseif (ORTHANC_SDK_VERSION STREQUAL "framework")
29 include_directories(${ORTHANC_ROOT}/Plugins/Include) 31 include_directories(${ORTHANC_ROOT}/Plugins/Include)
30 else() 32 else()
31 message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}") 33 message(FATAL_ERROR "Unsupported version of the Orthanc plugin SDK: ${ORTHANC_SDK_VERSION}")
32 endif() 34 endif()