meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*
authorTim-Philipp Müller <tim@centricular.com>
Wed, 21 Feb 2018 19:47:36 +0000 (19:47 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 21 Feb 2018 19:47:36 +0000 (19:47 +0000)
commitfb5f718e141efeff58be7b26b61e42a3c85be776
treead6e3c7028251689b096d23cbcbfc1d0985cd9fd
parent8c3daab0e2cbff62cd3964aa771c4eaca69c404b
meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*

add_global_arguments() can't be used in subprojects. It's
entirely possible that -ugly is a subproject but gstreamer
is picked up from an installed location, so we should
really use add_project_arguments() in both cases.
meson.build