build: simplify Meson subproject fallbacks

All of these projects use meson.override_dependency() so we can
stop referencing their internal variable name to grab the
depndencies we need.
This commit is contained in:
Simon Ser 2021-12-14 12:10:31 +01:00
parent 93e050c602
commit b5a019d575
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
wayland_protos = dependency('wayland-protocols',
version: '>=1.24',
fallback: ['wayland-protocols', 'wayland_protocols'],
fallback: 'wayland-protocols',
default_options: ['tests=false'],
)
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')