mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 05:50:09 +01:00
build: Raise required wayland-scanner version to 1.23.0 for tests
It's needed for the deprecated-since attribute [1] introduced with [2], at least when building the tests, which pass the '--strict' parameter to wayland-scanner. [1]ee12e69b8f[2]6c214e6dc0Signed-off-by: Heiko Becker <mail@heiko-becker.de>
This commit is contained in:
parent
9dd051b4a0
commit
fe3d5448be
1 changed files with 5 additions and 1 deletions
|
|
@ -8,7 +8,11 @@ wayland_protocols_version = meson.project_version()
|
||||||
|
|
||||||
fs = import('fs')
|
fs = import('fs')
|
||||||
|
|
||||||
dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true, fallback: 'wayland')
|
dep_scanner = dependency('wayland-scanner',
|
||||||
|
version: get_option('tests') ? '>=1.23.0' : '>=1.20.0',
|
||||||
|
native: true,
|
||||||
|
fallback: 'wayland'
|
||||||
|
)
|
||||||
prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner', internal: 'wayland_scanner'))
|
prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner', internal: 'wayland_scanner'))
|
||||||
|
|
||||||
stable_protocols = {
|
stable_protocols = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue