summaryrefslogtreecommitdiff
path: root/src/qcam/meson.build
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-06-16 12:35:09 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-06-24 19:06:16 +0200
commitfc520719a92f0f5cb3f673f09816686f6aaae682 (patch)
tree4b1b563a32cac6b06bdab4a3294624fac8aabebc /src/qcam/meson.build
parentc3ed943c992a09c5fc19e25328dca7aa52691c36 (diff)
meson: options: Add an option to control compilation of qcam
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 <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/meson.build')
-rw-r--r--src/qcam/meson.build2
1 files changed, 1 insertions, 1 deletions
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 = [