# HG changeset patch # User Sebastien Jodogne # Date 1591374392 -7200 # Node ID 1256885f525c81dc1d6dc4a888411005c089e3de # Parent 620ed85fb51460b1e3a7d4294ee157b61d1e4e40 fix diff -r 620ed85fb514 -r 1256885f525c CMakeLists.txt --- a/CMakeLists.txt Fri Jun 05 17:38:40 2020 +0200 +++ b/CMakeLists.txt Fri Jun 05 18:26:32 2020 +0200 @@ -47,8 +47,6 @@ # Download and setup the Orthanc framework include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/DownloadOrthancFramework.cmake) - -set(ORTHANC_FRAMEWORK_PLUGIN ON) include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) @@ -92,6 +90,7 @@ add_definitions( -DORTHANC_ENABLE_LOGGING_PLUGIN=1 + -DORTHANC_FRAMEWORK_BUILDING_PLUGIN=1 -DHAS_ORTHANC_EXCEPTION=1 )