From 2b29f2d89d0aa776c2f5d15b52a14ca821bb83f7 Mon Sep 17 00:00:00 2001 From: Alessandro Toia Date: Wed, 11 Oct 2023 20:34:21 -0700 Subject: [PATCH] spdlog: default to debug level fix --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index da649136..bbdb50ca 100644 --- a/meson.build +++ b/meson.build @@ -31,8 +31,9 @@ pre_args = [ if get_option('buildtype') == 'debug' pre_args += '-DDEBUG' pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE' +else + pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG' endif -pre_args += '-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG' # TODO: this is very incomplete is_unixy = false if ['linux', 'cygwin', 'gnu'].contains(host_machine.system())