comparison Aws/CMakeLists.txt @ 18:44de9edf2443

fix compilation to avoid exposing internal symbols which caused a crash at Orthanc startup
author Alain Mazy
date Wed, 02 Sep 2020 18:15:45 +0200
parents 2a02b21f0a19
children b77be39e25a5 e568ca940ddd 319d41a22de4
comparison
equal deleted inserted replaced
17:f438e831d9ad 18:44de9edf2443
19 19
20 set(ENABLE_GOOGLE_TEST ON) 20 set(ENABLE_GOOGLE_TEST ON)
21 set(ORTHANC_FRAMEWORK_PLUGIN ON) 21 set(ORTHANC_FRAMEWORK_PLUGIN ON)
22 22
23 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) 23 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake)
24 include(${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake)
24 25
25 26
26 add_definitions( 27 add_definitions(
27 -DHAS_ORTHANC_EXCEPTION=1 28 -DHAS_ORTHANC_EXCEPTION=1
28 -DORTHANC_ENABLE_LOGGING=1 29 -DORTHANC_ENABLE_LOGGING=1