comparison Resources/CMake/DatabasesPluginConfiguration.cmake @ 156:710537acb488

dynamic linking against the system-wide Orthanc framework library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 12:40:44 +0200
parents 23cf7def8e44
children 2ccde9c7311b 3236894320d6
comparison
equal deleted inserted replaced
155:23cf7def8e44 156:710537acb488
20 20
21 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesFrameworkConfiguration.cmake) 21 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesFrameworkConfiguration.cmake)
22 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/AutoGeneratedCode.cmake) 22 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/CMake/AutoGeneratedCode.cmake)
23 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) 23 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake)
24 24
25
26 include_directories(${ORTHANC_FRAMEWORK_ROOT}/Sources)
27 25
28 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) 26 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK)
29 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5") 27 if (ORTHANC_SDK_VERSION STREQUAL "0.9.5")
30 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5) 28 include_directories(${ORTHANC_DATABASES_ROOT}/Resources/Orthanc/Sdk-0.9.5)
31 elseif (ORTHANC_SDK_VERSION STREQUAL "1.4.0") 29 elseif (ORTHANC_SDK_VERSION STREQUAL "1.4.0")