Mercurial > hg > orthanc
diff Resources/CMake/OrthancFrameworkConfiguration.cmake @ 3993:7e8bfda62b43
fix msvc builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 16:52:09 +0200 |
parents | f9863630ec7f |
children | f6cb16413325 |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Fri Jun 05 16:07:01 2020 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Fri Jun 05 16:52:09 2020 +0200 @@ -544,6 +544,7 @@ if (ORTHANC_SANDBOXED) add_definitions( -DORTHANC_SANDBOXED=1 + -DORTHANC_ENABLE_LOGGING_PLUGIN=0 ) if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten") @@ -590,12 +591,6 @@ add_definitions(-DORTHANC_ENABLE_LOGGING=0) endif() -if (ORTHANC_ENABLE_LOGGING_PLUGIN) - add_definitions(-DORTHANC_ENABLE_LOGGING_PLUGIN=1) -else() - add_definitions(-DORTHANC_ENABLE_LOGGING_PLUGIN=0) -endif() - if (ORTHANC_ENABLE_LOGGING_STDIO) add_definitions(-DORTHANC_ENABLE_LOGGING_STDIO=1) else()