diff --git a/spine-godot/SConstruct b/spine-godot/SConstruct index 1e405f98f..14c6b596e 100644 --- a/spine-godot/SConstruct +++ b/spine-godot/SConstruct @@ -66,7 +66,7 @@ Run the following command to download godot-cpp: env = SConscript("godot-cpp/SConstruct", {"env": env, "customs": customs}) -env.Append(CPPDEFINES=["SPINE_GODOT_EXTENSION"]) +env.Append(CPPDEFINES=["SPINE_GODOT_EXTENSION", "_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"]) env.Append(CPPPATH=["spine_godot", "spine_godot/spine-cpp/include"]) # sources = Glob("spine_godot/*.cpp") + Glob("spine_godot/spine-cpp/src/spine/*.cpp")