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:
Barnabás Pőcze 2021-12-28 16:04:06 +01:00
parent 0753e992b8
commit 2b110af366
27 changed files with 144 additions and 160 deletions

View file

@ -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,
),