meson.build: adds summary() to optional programs

This commit is contained in:
Niklāvs Koļesņikovs 2021-06-29 11:17:03 +03:00 committed by Wim Taymans
parent ae89ae093e
commit e062c4d8de
3 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,7 @@
# ones which have circular dependencies and take some effort to fix.
# Do it for C++ if possible (picks up C++-specific errors), otherwise for C.
find = find_program('find', required: false)
summary({'find (for header testing)': find.found()}, bool_yn: true, section: 'Optional programs')
if find.found()
spa_headers = run_command(find,
meson.source_root() / 'spa' / 'include',