mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
build: override wayland-scanner dep
This allows a parent project to find wayland-scanner. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
8f2a33cffc
commit
2aec19ce41
1 changed files with 3 additions and 0 deletions
|
|
@ -74,6 +74,9 @@ if get_option('scanner')
|
|||
|
||||
if meson.can_run_host_binaries()
|
||||
meson.override_find_program('wayland-scanner', wayland_scanner)
|
||||
meson.override_dependency('wayland-scanner', declare_dependency(
|
||||
variables: { 'wayland_scanner': 'wayland-scanner' },
|
||||
))
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue