mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
build: check wayland-scanner version
We need the --strict flag, released in wayland 1.14.0. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
bfd4362fc2
commit
fab3cb3bfe
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ pkgconfig.generate(
|
|||
)
|
||||
|
||||
if meson.is_cross_build()
|
||||
scanner_dep = dependency('wayland-scanner', native: true)
|
||||
scanner_dep = dependency('wayland-scanner', native: true, version: '>=1.14.0')
|
||||
wayland_scanner_for_build = find_program(scanner_dep.get_pkgconfig_variable('wayland_scanner'))
|
||||
else
|
||||
wayland_scanner_for_build = wayland_scanner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue