diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2018-09-27 02:51:23 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-07 15:15:44 -0400 |
commit | 11e1f63f54356aa6fcedea348a7be73aac81d051 (patch) | |
tree | 5b052a029978d9185f98a1e258ec3502be5ce6dd /CMakeLists.txt | |
parent | 5beb00c93d3adb5c23149535624d27c67bc146ea (diff) |
Fix logger level defaulting to TRACE in CMake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 47d5e372..d68eb801 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -93,7 +93,7 @@ else() | |||
93 | message(STATUS "Supported C++ compiler features = ${CMAKE_CXX_COMPILE_FEATURES}") | 93 | message(STATUS "Supported C++ compiler features = ${CMAKE_CXX_COMPILE_FEATURES}") |
94 | endif() | 94 | endif() |
95 | 95 | ||
96 | option(TRACE "Enable DEBUG level logging (default)" ON) | 96 | option(DEBUG "Enable DEBUG level logging (default)" ON) |
97 | if(DEBUG) | 97 | if(DEBUG) |
98 | set(MIN_LOGGER_LEVEL DEBUG) | 98 | set(MIN_LOGGER_LEVEL DEBUG) |
99 | endif() | 99 | endif() |