meson: fix compilation when spa-plugins is disabled

Fixes #3811
This commit is contained in:
Wim Taymans 2024-01-26 15:11:54 +01:00
parent b4c7973d49
commit 1b6370ace1
6 changed files with 23 additions and 5 deletions

View file

@ -6,7 +6,7 @@ spa_examples = [
'local-v4l2',
]
if not get_option('examples').allowed()
if not get_option('examples').allowed() or not get_option('spa-plugins').allowed()
subdir_done()
endif