From 0e6cd15b063399e83a5a964f9f311db5042c27fa Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 10 Nov 2020 16:05:34 +0000 Subject: 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 Reviewed-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- src/meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/meson.build') 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') -- cgit v1.2.1