meson.build: fix compile with -Dexamples=disabled

This commit is contained in:
Pauli Virtanen 2023-11-26 18:31:43 +02:00 committed by Wim Taymans
parent 9daca346a7
commit 422c270a74
4 changed files with 10 additions and 6 deletions

View file

@ -6,6 +6,10 @@ spa_examples = [
'local-v4l2',
]
if not get_option('examples').allowed()
subdir_done()
endif
spa_examples_extra_deps = {
'local-v4l2': [sdl_dep],
'local-libcamera': [sdl_dep, libcamera_dep],