From fc520719a92f0f5cb3f673f09816686f6aaae682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Tue, 16 Jun 2020 12:35:09 +0200 Subject: meson: options: Add an option to control compilation of qcam MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an option to control compilation of the qcam test application. The default behavior is to compile qcam, no change in behavior without user intervention. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- src/qcam/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcam') diff --git a/src/qcam/meson.build b/src/qcam/meson.build index 045db52a..6ea886a3 100644 --- a/src/qcam/meson.build +++ b/src/qcam/meson.build @@ -22,7 +22,7 @@ qt5 = import('qt5') qt5_dep = dependency('qt5', method : 'pkg-config', modules : ['Core', 'Gui', 'Widgets'], - required : false) + required : get_option('qcam')) if qt5_dep.found() qcam_deps = [ -- cgit v1.2.1