summaryrefslogtreecommitdiff
path: root/src/v4l2
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2')
-rw-r--r--src/v4l2/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/v4l2/meson.build b/src/v4l2/meson.build
index c8b79424..0accac19 100644
--- a/src/v4l2/meson.build
+++ b/src/v4l2/meson.build
@@ -1,9 +1,12 @@
# SPDX-License-Identifier: CC0-1.0
if not get_option('v4l2')
+ v4l2_enabled = false
subdir_done()
endif
+v4l2_enabled = true
+
v4l2_compat_sources = files([
'v4l2_camera.cpp',
'v4l2_camera_file.cpp',