mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: meson.build: get PIPEWIRE_{CONFIG,MODULE}_DIR from dependency
Instead of hard-coding the paths relative to the project root, retrieve the correct paths from `pipewire_dep`.
This commit is contained in:
parent
26eb66fb5b
commit
93b4fc59cf
3 changed files with 6 additions and 6 deletions
|
|
@ -508,8 +508,8 @@ if meson.version().version_compare('>=0.58.0')
|
|||
builddir = meson.project_build_root()
|
||||
srcdir = meson.project_source_root()
|
||||
|
||||
devenv.set('PIPEWIRE_CONFIG_DIR', builddir / 'src' / 'daemon')
|
||||
devenv.set('PIPEWIRE_MODULE_DIR', builddir / 'src' / 'modules')
|
||||
devenv.set('PIPEWIRE_CONFIG_DIR', pipewire_dep.get_variable(internal: 'confdatadir'))
|
||||
devenv.set('PIPEWIRE_MODULE_DIR', pipewire_dep.get_variable(internal: 'moduledir'))
|
||||
|
||||
devenv.set('SPA_PLUGIN_DIR', spa_dep.get_variable(internal: 'plugindir'))
|
||||
devenv.set('SPA_DATA_DIR', srcdir / 'spa' / 'plugins')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue