mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
meson: add module dir directory for tests
This commit is contained in:
parent
69b7c18718
commit
714178b1e4
1 changed files with 9 additions and 5 deletions
|
|
@ -7,11 +7,15 @@ test_apps = [
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach a : test_apps
|
foreach a : test_apps
|
||||||
test(a, executable(a, a + '.c',
|
test(a,
|
||||||
dependencies : [pipewire_dep],
|
executable(a, a + '.c',
|
||||||
c_args : [ '-D_GNU_SOURCE' ],
|
dependencies : [pipewire_dep],
|
||||||
install : false),
|
c_args : [ '-D_GNU_SOURCE' ],
|
||||||
env : ['SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root())])
|
install : false),
|
||||||
|
env : [
|
||||||
|
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
|
||||||
|
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())
|
||||||
|
])
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue