meson: replace join_paths(a, b) with a / b

More readable and from the meson reference manual:
(since 0.49.0) Using the/ operator on strings is equivalent to calling join_paths.
This commit is contained in:
Peter Hutterer 2021-04-15 14:41:04 +10:00 committed by Wim Taymans
parent 2f78829fda
commit 223f20709d
34 changed files with 98 additions and 98 deletions

View file

@ -22,8 +22,8 @@ pipewire_jack_c_args = [
libjack_path = get_option('libjack-path')
if libjack_path == ''
libjack_path = join_paths(modules_install_dir, 'jack')
libjack_path_dlopen = join_paths(modules_install_dir_dlopen, 'jack')
libjack_path = modules_install_dir / 'jack'
libjack_path_dlopen = modules_install_dir_dlopen / 'jack'
else
libjack_path_dlopen = libjack_path
endif
@ -75,7 +75,7 @@ if sdl_dep.found()
c_args : [ '-D_GNU_SOURCE' ],
include_directories : [jack_inc],
install : installed_tests_enabled,
install_dir : join_paths(installed_tests_execdir, 'examples', 'jack'),
install_dir : installed_tests_execdir / 'examples' / 'jack',
dependencies : [sdl_dep, mathlib],
link_with: pipewire_jack,
)