summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-03-26 08:22:13 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-08-12 14:17:30 +0000
commitebcca1e5ead27cab1eafc028332b1984c84b10b2 (patch)
tree5b9952e0fb7b65f6a90e0cfb198662809a2c1e70
parentc24958c7813fcc151253f6985d6dee83ec6090d0 (diff)
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: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/236>
-rw-r--r--meson.build7
1 files changed, 0 insertions, 7 deletions
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}],