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:45:33 +0000 (19:45 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 21 Feb 2018 19:46:04 +0000 (19:46 +0000)
commit9af73aa1d1536a99d682519e930490a145b263ba
tree16d99ee963b3be53fee2625ee77abe526d517027
parenta73e5eba55d5b18eb0da14328fa7b0a456d8c84b
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 -bad 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