build: Set XRT_HAVE_V4L2 in meson too

This commit is contained in:
Christoph Haag 2020-05-25 20:50:33 +02:00
parent b7b9d9307b
commit 07d8fdae46

View file

@ -55,6 +55,10 @@ if sdl2.found()
have_conf.set('XRT_HAVE_SDL2', true)
endif
if v4l2.found()
have_conf.set('XRT_HAVE_V4L2', true)
endif
xrt_config_have_h = configure_file(
output: 'xrt_config_have.h',
configuration: have_conf,