From: Xavier Claessens Date: Fri, 26 Mar 2021 12:22:13 +0000 (-0400) Subject: Meson: Avoid using add_global_arguments() when gst-build is a subproject X-Git-Tag: 1.19.3~481^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebcca1e5ead27cab1eafc028332b1984c84b10b2;p=platform%2Fupstream%2Fgstreamer.git Meson: Avoid using add_global_arguments() when gst-build is a subproject Meson only allows the main project to use it. We already set that flag in all GStreamer modules just like warning flags. Fixes: #152 Part-of: --- diff --git a/meson.build b/meson.build index fe450f1..ae83274 100644 --- a/meson.build +++ b/meson.build @@ -59,13 +59,6 @@ if not meson.is_subproject() and cc.get_id() == 'msvc' endif endif -# Ensure that MSVC interprets all source code as UTF-8 -if cc.get_id() == 'msvc' - add_global_arguments( - cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 - language: ['c', 'cpp']) -endif - # Ordered list of subprojects (dict has no ordering guarantees) subprojects = [ ['gstreamer', {'build-hotdoc': true}],