Mercurial > hg > orthanc-databases
comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 516:659e40f5d199 OrthancMySQL-5.2
fix SDK 1.12.4
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 06 Jun 2024 12:13:15 +0200 |
parents | 54d518dcd74a |
children | e1d3da372805 |
comparison
equal
deleted
inserted
replaced
512:a6300ccf6683 | 516:659e40f5d199 |
---|---|
44 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.9.2) | 44 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.9.2) |
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") | |
50 set(ORTHANC_SDK_ROOT ${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-1.12.4) | |
49 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") | 51 elseif (ORTHANC_SDK_VERSION STREQUAL "framework") |
50 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/) | 52 set(tmp ${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Include/) |
51 message(${tmp}) | 53 message(${tmp}) |
52 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h) | 54 if (NOT EXISTS ${tmp}/orthanc/OrthancCDatabasePlugin.h) |
53 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") |