From d3253e27a203448cc7d72f30560f2d5e835e3f99 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 13 Mar 2021 16:35:57 +0200 Subject: [PATCH 34/34] Meson: Set QT_NO_DEBUG on non-debug builds See osdn #41775 Signed-off-by: Marko Lindqvist --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index c9b71f6dc9..fef408462b 100644 --- a/meson.build +++ b/meson.build @@ -35,6 +35,8 @@ priv_conf_data.set('IS_DEVEL_VERSION', 1) if get_option('debug') priv_conf_data.set('FREECIV_DEBUG', 1) pub_conf_data.set('FREECIV_DEBUG', 1) +else + add_global_arguments('-DQT_NO_DEBUG', language : 'cpp') endif c_compiler = meson.get_compiler('c') -- 2.30.1