diff options
author | Windy Darian <p123456638@msn.com> | 2019-04-11 00:05:11 -0400 |
---|---|---|
committer | Windy Darian <p123456638@msn.com> | 2019-04-11 00:05:11 -0400 |
commit | 6c90aaf5c741fd7d9ff7b47e5bb4ed7d45623c2e (patch) | |
tree | 95bbd47f003d061445a1331953034638d833dfa6 /modules/vhacd | |
parent | f05af9d4922ab0ace26f7ef07b88710d4b9c4b03 (diff) |
Use c++11 for vhacd because VHACD-ASYNC.cpp wants it
Diffstat (limited to 'modules/vhacd')
-rw-r--r-- | modules/vhacd/SCsub | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/vhacd/SCsub b/modules/vhacd/SCsub index e89a64a68e..11cd5f4743 100644 --- a/modules/vhacd/SCsub +++ b/modules/vhacd/SCsub @@ -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) |