mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-05-08 03:08:04 +02:00
build: stop using deprecated Meson functions
Fixes the following warning:
NOTICE: Future-deprecated features used:
* 0.55.0: {'ExternalProgram.path'}
* 0.56.0: {'dependency.get_pkgconfig_variable'}
Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
eb115b3137
commit
7350cbefd8
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
project('wayland-protocols',
|
||||
version: '1.25',
|
||||
meson_version: '>= 0.54.0',
|
||||
meson_version: '>= 0.55.0',
|
||||
license: 'MIT/Expat',
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
prog_scan_sh = find_program('scan.sh')
|
||||
dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true)
|
||||
prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
|
||||
prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner'))
|
||||
|
||||
libwayland = [
|
||||
dependency('wayland-client'),
|
||||
|
|
@ -14,7 +14,7 @@ foreach protocol_file : protocol_files
|
|||
test(test_name, prog_scan_sh,
|
||||
args: protocol_path,
|
||||
env: [
|
||||
'SCANNER=@0@'.format(prog_scanner.path()),
|
||||
'SCANNER=@0@'.format(prog_scanner.full_path()),
|
||||
]
|
||||
)
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue