Mercurial > hg > orthanc
comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2541:4ff979cf676e
fix missing logging
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Apr 2018 17:33:54 +0200 |
parents | 1badeecd62fc |
children | 3caca43371f5 52217dc47a4e |
comparison
equal
deleted
inserted
replaced
2540:1badeecd62fc | 2541:4ff979cf676e |
---|---|
478 ) | 478 ) |
479 endif() | 479 endif() |
480 | 480 |
481 else() | 481 else() |
482 add_definitions( | 482 add_definitions( |
483 -DORTHANC_ENABLE_LOGGING=1 | |
484 -DORTHANC_ENABLE_LOGGING_STDIO=0 | |
483 -DORTHANC_SANDBOXED=0 | 485 -DORTHANC_SANDBOXED=0 |
484 -DORTHANC_ENABLE_LOGGING_STDIO=0 | |
485 ) | 486 ) |
486 | 487 |
487 if (ORTHANC_FRAMEWORK_PLUGIN) | 488 if (ORTHANC_FRAMEWORK_PLUGIN) |
488 add_definitions( | 489 add_definitions( |
489 -DORTHANC_ENABLE_LOGGING=1 | |
490 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 | 490 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 |
491 ) | 491 ) |
492 else() | 492 else() |
493 add_definitions( | 493 add_definitions( |
494 -DORTHANC_ENABLE_LOGGING=0 | |
495 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 | 494 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 |
496 ) | 495 ) |
497 endif() | 496 endif() |
498 | 497 |
499 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL | 498 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL |