mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Use c++11 for vhacd because VHACD-ASYNC.cpp wants it
This commit is contained in:
parent
f05af9d492
commit
6c90aaf5c7
@ -27,6 +27,10 @@ thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||
env_vhacd.Append(CPPPATH=[thirdparty_dir+"/inc"])
|
||||
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.disable_warnings()
|
||||
env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)
|
||||
|
Loading…
Reference in New Issue
Block a user