Meson: Avoid using add_global_arguments() when gst-build is a subproject
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 26 Mar 2021 12:22:13 +0000 (08:22 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 12 Aug 2021 14:17:30 +0000 (14:17 +0000)
commitebcca1e5ead27cab1eafc028332b1984c84b10b2
tree5b9952e0fb7b65f6a90e0cfb198662809a2c1e70
parentc24958c7813fcc151253f6985d6dee83ec6090d0
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>
meson.build