changeset 2541:4ff979cf676e

fix missing logging
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Apr 2018 17:33:54 +0200
parents 1badeecd62fc
children 83489e20ad0c 6c72ef308cb3
files Resources/CMake/OrthancFrameworkConfiguration.cmake
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake	Tue Apr 17 16:14:03 2018 +0200
+++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake	Tue Apr 17 17:33:54 2018 +0200
@@ -480,18 +480,17 @@
   
 else()
   add_definitions(
+    -DORTHANC_ENABLE_LOGGING=1
+    -DORTHANC_ENABLE_LOGGING_STDIO=0
     -DORTHANC_SANDBOXED=0
-    -DORTHANC_ENABLE_LOGGING_STDIO=0
     )
 
   if (ORTHANC_FRAMEWORK_PLUGIN)
     add_definitions(
-      -DORTHANC_ENABLE_LOGGING=1
       -DORTHANC_ENABLE_LOGGING_PLUGIN=1
       )
   else()
     add_definitions(
-      -DORTHANC_ENABLE_LOGGING=0
       -DORTHANC_ENABLE_LOGGING_PLUGIN=0
       )
   endif()