diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-10 16:19:13 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-10 16:21:15 -0800 |
commit | 1b6e63b2c38a0cf6cd1c70bfc5483cac0d1710e1 (patch) | |
tree | 5ee0c92c034d80e0194e15811ce535637e3145c1 /meson.build | |
parent | 3fd47893c53e46d99b575a6c4e1a00d79bec3c6d (diff) |
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>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index c68e69a..b8d2e44 100644 --- a/meson.build +++ b/meson.build @@ -20,7 +20,7 @@ # keep version in sync with configure.ac project('xorgproto', 'c', license : 'MIT', version : '2022.2', - meson_version : '>=0.50.0') + meson_version : '>=0.56.0') cc = meson.get_compiler('c') pcs = [ @@ -115,7 +115,7 @@ ext_xorgproto = declare_dependency( subdir('include') -keysymfile = meson.source_root() / 'include' / 'X11' / 'XF86keysym.h' +keysymfile = meson.project_source_root() / 'include' / 'X11' / 'XF86keysym.h' test('evdev-keysym-check', find_program('scripts/keysym-generator.py'), args: ['-v', '--header', keysymfile, 'verify']) |