meson: replace join_paths with /

Sets minimum meson version to 0.50.0 due to use of:
 * 0.49.0: {'/ with string arguments'}
 * 0.50.0: {'install arg in configure_file'}

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2023-01-10 16:17:03 -08:00
parent 1a1e0a82b1
commit 3fd47893c5

View file

@ -19,7 +19,8 @@
# SOFTWARE.
# 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')
cc = meson.get_compiler('c')
pcs = [
@ -114,7 +115,7 @@ ext_xorgproto = declare_dependency(
subdir('include')
keysymfile = join_paths(meson.source_root(), 'include', 'X11', 'XF86keysym.h')
keysymfile = meson.source_root() / 'include' / 'X11' / 'XF86keysym.h'
test('evdev-keysym-check',
find_program('scripts/keysym-generator.py'),
args: ['-v', '--header', keysymfile, 'verify'])