mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
meson.build: use project_{build,source}_root() in devenv
The paths are calculated relative to the project root, so use the appropriate functions to retrieve it instead of using the current build/source directory.
This commit is contained in:
parent
248b8c40a3
commit
a9225d3150
1 changed files with 2 additions and 2 deletions
|
|
@ -505,8 +505,8 @@ run_target('pw-uninstalled',
|
||||||
if meson.version().version_compare('>=0.58.0')
|
if meson.version().version_compare('>=0.58.0')
|
||||||
devenv = environment()
|
devenv = environment()
|
||||||
|
|
||||||
builddir = meson.current_build_dir()
|
builddir = meson.project_build_root()
|
||||||
srcdir = meson.current_source_dir()
|
srcdir = meson.project_source_root()
|
||||||
|
|
||||||
devenv.set('PIPEWIRE_CONFIG_DIR', builddir / 'src' / 'daemon')
|
devenv.set('PIPEWIRE_CONFIG_DIR', builddir / 'src' / 'daemon')
|
||||||
devenv.set('PIPEWIRE_MODULE_DIR', builddir / 'src' / 'modules')
|
devenv.set('PIPEWIRE_MODULE_DIR', builddir / 'src' / 'modules')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue