diff options
| author | ShyRed | 2018-03-09 17:28:08 +0100 |
|---|---|---|
| committer | ShyRed | 2018-03-09 18:18:30 +0100 |
| commit | e71f1099104e0420ebdd458b61225f7c29d79358 (patch) | |
| tree | b5af551a3ef7b75f054635370d5768d1fe5b089d /modules/webm | |
| parent | b84236944215445be191047ab628e570ffd69e99 (diff) | |
| download | godot-e71f1099104e0420ebdd458b61225f7c29d79358.tar.gz godot-e71f1099104e0420ebdd458b61225f7c29d79358.tar.zst godot-e71f1099104e0420ebdd458b61225f7c29d79358.zip | |
Diffstat (limited to 'modules/webm')
| -rw-r--r-- | modules/webm/SCsub | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/webm/SCsub b/modules/webm/SCsub index 2f1a28a54..33561da09 100644 --- a/modules/webm/SCsub +++ b/modules/webm/SCsub @@ -18,6 +18,10 @@ thirdparty_libsimplewebm_sources = [thirdparty_libsimplewebm_dir + file for file env_webm.add_source_files(env.modules_sources, thirdparty_libsimplewebm_sources) env_webm.Append(CPPPATH=[thirdparty_libsimplewebm_dir, thirdparty_libsimplewebm_dir + "libwebm/"]) +# upstream uses c++11 +if (not env_webm.msvc): + env_webm.Append(CCFLAGS="-std=c++11") + # also requires libogg, libvorbis and libopus if env['builtin_libogg']: env_webm.Append(CPPPATH=["#thirdparty/libogg"]) |
