aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde2018-03-09 19:00:07 +0100
committerGitHub2018-03-09 19:00:07 +0100
commitaeb1c67b5b55c769256a8ffc2f9d9095d6fc74da (patch)
treeb5af551a3ef7b75f054635370d5768d1fe5b089d /modules
parentb84236944215445be191047ab628e570ffd69e99 (diff)
parente71f1099104e0420ebdd458b61225f7c29d79358 (diff)
downloadgodot-aeb1c67b5b55c769256a8ffc2f9d9095d6fc74da.tar.gz
godot-aeb1c67b5b55c769256a8ffc2f9d9095d6fc74da.tar.zst
godot-aeb1c67b5b55c769256a8ffc2f9d9095d6fc74da.zip
Merge pull request #17378 from ShyRed/webm
Update libwebm
Diffstat (limited to 'modules')
-rw-r--r--modules/webm/SCsub4
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"])