You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Use c++11 for vhacd because VHACD-ASYNC.cpp wants it
This commit is contained in:
@@ -27,6 +27,10 @@ thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
|||||||
env_vhacd.Append(CPPPATH=[thirdparty_dir+"/inc"])
|
env_vhacd.Append(CPPPATH=[thirdparty_dir+"/inc"])
|
||||||
env_vhacd.Append(CPPFLAGS=["-DGODOT_ENET"])
|
env_vhacd.Append(CPPFLAGS=["-DGODOT_ENET"])
|
||||||
|
|
||||||
|
# upstream uses c++11
|
||||||
|
if not env.msvc:
|
||||||
|
env_vhacd.Append(CCFLAGS="-std=c++11")
|
||||||
|
|
||||||
env_thirdparty = env_vhacd.Clone()
|
env_thirdparty = env_vhacd.Clone()
|
||||||
env_thirdparty.disable_warnings()
|
env_thirdparty.disable_warnings()
|
||||||
env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)
|
env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)
|
||||||
|
|||||||
Reference in New Issue
Block a user