From ff90327146a39d0d79d7ddb30e7f6289ea94deb3 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sun, 8 Dec 2019 17:35:13 +0100 Subject: [PATCH] Enable Bullet DEBUG on debug builds. --- modules/bullet/SCsub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index 692c7498867..0c7ff35b175 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -200,8 +200,8 @@ if env["builtin_bullet"]: env_bullet.Append(CPPFLAGS=["-isystem", Dir(thirdparty_dir).path]) else: env_bullet.Prepend(CPPPATH=[thirdparty_dir]) - # if env['target'] == "debug" or env['target'] == "release_debug": - # env_bullet.Append(CPPDEFINES=['BT_DEBUG']) + if env["target"] == "debug" or env["target"] == "release_debug": + env_bullet.Append(CPPDEFINES=["DEBUG"]) env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings()