diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-03 07:49:17 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2018-10-07 15:15:58 -0400 |
commit | f5afc526550d935585f4023142853eeb95115734 (patch) | |
tree | 5631d20eb74e06b57b752d9619d28cd552277b4b /configure.ac | |
parent | 11e1f63f54356aa6fcedea348a7be73aac81d051 (diff) |
Default to not defining MIN_LOGGER_LEVEL in CMake
That way CMake's behavior matches what autotools does -- letting
toxcore/logger.h handle the default case.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 13913622..0ad65de4 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -82,7 +82,7 @@ AC_ARG_WITH(log-level, | |||
82 | elif test "x$withval" = "xERROR"; then | 82 | elif test "x$withval" = "xERROR"; then |
83 | AC_DEFINE([MIN_LOGGER_LEVEL], [LOGGER_LEVEL_ERROR], [Logger_Level value]) | 83 | AC_DEFINE([MIN_LOGGER_LEVEL], [LOGGER_LEVEL_ERROR], [Logger_Level value]) |
84 | else | 84 | else |
85 | AC_MSG_WARN([Invalid logger level: $withval. Using default 'DEBUG']) | 85 | AC_MSG_WARN([Invalid logger level: $withval. Using default.]) |
86 | fi | 86 | fi |
87 | ] | 87 | ] |
88 | ) | 88 | ) |