changeset 261:1256885f525c

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 18:26:32 +0200
parents 620ed85fb514
children 6ee63d85b5fc
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
   )