mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
build: Support building with v4l2 installed but driver disabled
This commit is contained in:
parent
adbafad079
commit
fb103659ef
|
@ -55,7 +55,7 @@ if sdl2.found()
|
|||
have_conf.set('XRT_HAVE_SDL2', true)
|
||||
endif
|
||||
|
||||
if v4l2.found()
|
||||
if v4l2.found() and 'v4l2' in drivers
|
||||
have_conf.set('XRT_HAVE_V4L2', true)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue