summaryrefslogtreecommitdiff
path: root/modules/bullet
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-06-21 18:41:42 +0200
committerGitHub <noreply@github.com>2020-06-21 18:41:42 +0200
commitc59be892733be69b048c1586dcaefd0e423a5f3b (patch)
treef4a0739485eb380bd581fa9b2ed223c5af406fb7 /modules/bullet
parent81a47d033ddb506b103df4d42e0e8feb7b50939a (diff)
parentff90327146a39d0d79d7ddb30e7f6289ea94deb3 (diff)
Merge pull request #34236 from madmiraal/enable-bullet-debug
Enable Bullet DEBUG on debug builds.
Diffstat (limited to 'modules/bullet')
-rw-r--r--modules/bullet/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub
index b853ebfc63..21bdcca18e 100644
--- a/modules/bullet/SCsub
+++ b/modules/bullet/SCsub
@@ -201,8 +201,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_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD"])