Mercurial > hg > orthanc-object-storage
comparison Google/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 |
---|---|
17 | 17 |
18 set(ENABLE_GOOGLE_TEST ON) | 18 set(ENABLE_GOOGLE_TEST ON) |
19 set(ORTHANC_FRAMEWORK_PLUGIN ON) | 19 set(ORTHANC_FRAMEWORK_PLUGIN ON) |
20 | 20 |
21 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) | 21 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) |
22 include(${ORTHANC_FRAMEWORK_ROOT}/../../OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake) | |
22 | 23 |
23 | 24 |
24 add_definitions( | 25 add_definitions( |
25 -DHAS_ORTHANC_EXCEPTION=1 | 26 -DHAS_ORTHANC_EXCEPTION=1 |
26 -DORTHANC_ENABLE_LOGGING=1 | 27 -DORTHANC_ENABLE_LOGGING=1 |