diff options
Diffstat (limited to 'modules/vhacd/SCsub')
-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) |