Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
3992:f9863630ec7f | 3993:7e8bfda62b43 |
---|---|
542 | 542 |
543 | 543 |
544 if (ORTHANC_SANDBOXED) | 544 if (ORTHANC_SANDBOXED) |
545 add_definitions( | 545 add_definitions( |
546 -DORTHANC_SANDBOXED=1 | 546 -DORTHANC_SANDBOXED=1 |
547 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 | |
547 ) | 548 ) |
548 | 549 |
549 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten") | 550 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten") |
550 set(ORTHANC_ENABLE_LOGGING ON) | 551 set(ORTHANC_ENABLE_LOGGING ON) |
551 set(ORTHANC_ENABLE_LOGGING_STDIO ON) | 552 set(ORTHANC_ENABLE_LOGGING_STDIO ON) |
586 | 587 |
587 if (ORTHANC_ENABLE_LOGGING) | 588 if (ORTHANC_ENABLE_LOGGING) |
588 add_definitions(-DORTHANC_ENABLE_LOGGING=1) | 589 add_definitions(-DORTHANC_ENABLE_LOGGING=1) |
589 else() | 590 else() |
590 add_definitions(-DORTHANC_ENABLE_LOGGING=0) | 591 add_definitions(-DORTHANC_ENABLE_LOGGING=0) |
591 endif() | |
592 | |
593 if (ORTHANC_ENABLE_LOGGING_PLUGIN) | |
594 add_definitions(-DORTHANC_ENABLE_LOGGING_PLUGIN=1) | |
595 else() | |
596 add_definitions(-DORTHANC_ENABLE_LOGGING_PLUGIN=0) | |
597 endif() | 592 endif() |
598 | 593 |
599 if (ORTHANC_ENABLE_LOGGING_STDIO) | 594 if (ORTHANC_ENABLE_LOGGING_STDIO) |
600 add_definitions(-DORTHANC_ENABLE_LOGGING_STDIO=1) | 595 add_definitions(-DORTHANC_ENABLE_LOGGING_STDIO=1) |
601 else() | 596 else() |