1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Compile bullet with threasafe switch on

(cherry picked from commit 6f81c213a6)
This commit is contained in:
Manuele Finocchiaro
2021-09-28 15:07:31 +01:00
committed by Rémi Verschelde
parent 71f8b809b2
commit b55fd934ee

View File

@@ -205,7 +205,7 @@ if env["builtin_bullet"]:
if env["target"] == "debug" or env["target"] == "release_debug":
env_bullet.Append(CPPDEFINES=["DEBUG"])
env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD"])
env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD", "BT_THREADSAFE"])
env_thirdparty = env_bullet.Clone()
env_thirdparty.disable_warnings()