mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 03:30:25 +01:00
meson: replace deprecated source_root with new project_source_root
Fixes deprecation warning for meson 0.56.0 and later. Raises minimum meson version to 0.56.0. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
3fd47893c5
commit
1b6e63b2c3
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
# keep version in sync with configure.ac
|
# keep version in sync with configure.ac
|
||||||
project('xorgproto', 'c', license : 'MIT', version : '2022.2',
|
project('xorgproto', 'c', license : 'MIT', version : '2022.2',
|
||||||
meson_version : '>=0.50.0')
|
meson_version : '>=0.56.0')
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
pcs = [
|
pcs = [
|
||||||
|
|
@ -115,7 +115,7 @@ ext_xorgproto = declare_dependency(
|
||||||
|
|
||||||
subdir('include')
|
subdir('include')
|
||||||
|
|
||||||
keysymfile = meson.source_root() / 'include' / 'X11' / 'XF86keysym.h'
|
keysymfile = meson.project_source_root() / 'include' / 'X11' / 'XF86keysym.h'
|
||||||
test('evdev-keysym-check',
|
test('evdev-keysym-check',
|
||||||
find_program('scripts/keysym-generator.py'),
|
find_program('scripts/keysym-generator.py'),
|
||||||
args: ['-v', '--header', keysymfile, 'verify'])
|
args: ['-v', '--header', keysymfile, 'verify'])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue