libcamera: disable by default

Until it is at least more comon available in distros.
This commit is contained in:
Wim Taymans 2020-06-04 10:41:28 +02:00
parent 39974903df
commit 0b47b47b6c
3 changed files with 9 additions and 6 deletions

View file

@ -3,10 +3,13 @@ if sdl_dep.found()
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib],
install : false)
executable('local-libcamera', 'local-libcamera.c',
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
install : false)
if get_option('libcamera') and libcamera_dep.found()
executable('local-libcamera', 'local-libcamera.c',
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
install : false)
endif
endif
executable('example-control', 'example-control.c',