summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-11-10 16:05:34 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-12-30 15:31:53 +0000
commit0e6cd15b063399e83a5a964f9f311db5042c27fa (patch)
treeb0673ebdf982f9ea1513b0f99fe01dd1d239768b /src/meson.build
parent85f01678a04663e4015ff870cd4d738de302c616 (diff)
src: meson: Simplify v4l2 enablement
Simplify the src level meson file by moving the declaration of the v4l2 subdir to match the other invocations, making use of 'subdir_done()' to break out if the adaptation layer is not enabled. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/meson.build b/src/meson.build
index 8e219943..4b75f058 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -21,8 +21,5 @@ subdir('ipa')
subdir('cam')
subdir('qcam')
-if get_option('v4l2')
- subdir('v4l2')
-endif
-
subdir('gstreamer')
+subdir('v4l2')