diff options
author | ShyRed <ShyRed@users.noreply.github.com> | 2018-03-09 17:28:08 +0100 |
---|---|---|
committer | ShyRed <ShyRed@users.noreply.github.com> | 2018-03-09 18:18:30 +0100 |
commit | e71f1099104e0420ebdd458b61225f7c29d79358 (patch) | |
tree | b5af551a3ef7b75f054635370d5768d1fe5b089d /modules/webm/SCsub | |
parent | b84236944215445be191047ab628e570ffd69e99 (diff) |
Update libwebm
Update of libwebm.
Up-to-date version of libwebm contains several bugfixes that allow playback of files that would crash Godot otherwise.
Diffstat (limited to 'modules/webm/SCsub')
-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 2f1a28a54c..33561da098 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"]) |