comparison Applications/Samples/rt-viewer-demo/CMakeLists.txt @ 857:0c0fc20a6902

macro ORTHANC_ENABLE_LOGGING_PLUGIN must be defined per app, not by stone
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Jun 2019 17:41:35 +0200
parents 1d9deb4ee84c
children
comparison
equal deleted inserted replaced
855:41d22389a7d2 857:0c0fc20a6902
79 set(ENABLE_GOOGLE_TEST ON) 79 set(ENABLE_GOOGLE_TEST ON)
80 set(ENABLE_WEB_CLIENT ON) 80 set(ENABLE_WEB_CLIENT ON)
81 81
82 endif() 82 endif()
83 83
84
84 ##################################################################### 85 #####################################################################
85 ## Configuration for Orthanc 86 ## Configuration for Orthanc
86 ##################################################################### 87 #####################################################################
87 88
88 if (ORTHANC_STONE_VERSION STREQUAL "mainline") 89 if (ORTHANC_STONE_VERSION STREQUAL "mainline")
94 endif() 95 endif()
95 96
96 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")") 97 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")")
97 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") 98 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"")
98 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") 99 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"")
100
101 add_definitions(
102 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
103 )
99 104
100 105
101 ##################################################################### 106 #####################################################################
102 ## Build a static library containing the Orthanc Stone framework 107 ## Build a static library containing the Orthanc Stone framework
103 ##################################################################### 108 #####################################################################