comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 515:3da78e8daec5

fix SDK 1.12.4
author Alain Mazy <am@orthanc.team>
date Thu, 06 Jun 2024 12:12:34 +0200
parents 821b60e64daa
children e1d3da372805
comparison
equal deleted inserted replaced
514:821b60e64daa 515:3da78e8daec5
45 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.0") 45 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.0")
46 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.0) 46 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.0)
47 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.3") 47 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.3")
48 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.3) 48 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.3)
49 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.4") 49 elseif (ORTHANC_SDK_VERSION STREQUAL "1.12.4")
50 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.3) 50 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.4)
51 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") 51 elseif (ORTHANC_SDK_VERSION STREQUAL "framework")
52 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/) 52 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/)
53 message(${tmp}) 53 message(${tmp})
54 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h) 54 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h)
55 message(FATAL_ERROR "Your copy of the Orthanc framework doesn't contain the Orthanc plugin SDK") 55 message(FATAL_ERROR "Your copy of the Orthanc framework doesn't contain the Orthanc plugin SDK")