meson: use kwargs for wayland deps

This commit is contained in:
Kirill Primak 2024-11-16 20:04:58 +03:00 committed by Simon Ser
parent f233d25e86
commit 2ff95e5c97
3 changed files with 14 additions and 7 deletions

View file

@ -5,7 +5,10 @@ wayland_protos = dependency('wayland-protocols',
)
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
wayland_scanner_dep = dependency('wayland-scanner', native: true)
wayland_scanner_dep = dependency('wayland-scanner',
kwargs: wayland_kwargs,
native: true,
)
wayland_scanner = find_program(
wayland_scanner_dep.get_variable('wayland_scanner'),
native: true,