From 07d8fdae469855caa47eb6483f798fc783a4e6e3 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Mon, 25 May 2020 20:50:33 +0200 Subject: [PATCH] build: Set XRT_HAVE_V4L2 in meson too --- src/xrt/include/xrt/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/include/xrt/meson.build b/src/xrt/include/xrt/meson.build index 1c845691b..b929da75b 100644 --- a/src/xrt/include/xrt/meson.build +++ b/src/xrt/include/xrt/meson.build @@ -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,