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