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

@ -100,13 +100,13 @@ internal_features = {
wayland_project_options = ['tests=false', 'documentation=false']
wayland_server = dependency('wayland-server',
version: '>=1.20',
fallback: ['wayland', 'wayland_server_dep'],
fallback: 'wayland',
default_options: wayland_project_options,
)
drm = dependency('libdrm',
version: '>=2.4.109',
fallback: ['libdrm', 'ext_libdrm'],
fallback: 'libdrm',
default_options: [
'libkms=false',
'intel=false',