mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: meson.build: get SPA_PLUGIN_DIR from dependency
Instead of hard-coding the path relative to the project root, retrieve the correct path from `spa_dep`.
This commit is contained in:
parent
8ed46a283f
commit
26eb66fb5b
5 changed files with 6 additions and 6 deletions
|
|
@ -140,7 +140,7 @@ foreach a : test_apps
|
|||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir / 'audioconvert'),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.project_build_root()),
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable(internal: 'plugindir')),
|
||||
])
|
||||
|
||||
if installed_tests_enabled
|
||||
|
|
@ -170,7 +170,7 @@ foreach a : benchmark_apps
|
|||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir / 'audioconvert'),
|
||||
env : [
|
||||
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.project_build_root()),
|
||||
'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable(internal: 'plugindir')),
|
||||
])
|
||||
|
||||
if installed_tests_enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue