mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
treewide: meson.build: use dependency variable for SPA
Use `spa_dep` everywhere instead of `spa_inc`, and remove `spa_inc` altogether.
This commit is contained in:
parent
0753e992b8
commit
2b110af366
27 changed files with 144 additions and 160 deletions
|
|
@ -20,7 +20,7 @@ if find.found()
|
|||
configuration: c)
|
||||
executable('spa-include-test-@0@'.format(spa_header.underscorify()),
|
||||
src,
|
||||
include_directories: [spa_inc],
|
||||
dependencies: [ spa_dep ],
|
||||
install: false)
|
||||
endif
|
||||
endforeach
|
||||
|
|
@ -35,8 +35,7 @@ benchmark_apps = [
|
|||
foreach a : benchmark_apps
|
||||
benchmark('spa-' + a,
|
||||
executable('spa-' + a, a + '.c',
|
||||
dependencies : [dl_lib, pthread_lib, mathlib ],
|
||||
include_directories : [spa_inc ],
|
||||
dependencies : [ spa_dep, dl_lib, pthread_lib, mathlib ],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue