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>
This commit is contained in:
parent
c3ed943c99
commit
fc520719a9
2 changed files with 6 additions and 1 deletions
|
@ -19,6 +19,11 @@ option('pipelines',
|
|||
choices : ['ipu3', 'raspberrypi', 'rkisp1', 'simple', 'uvcvideo', 'vimc'],
|
||||
description : 'Select which pipeline handlers to include')
|
||||
|
||||
option('qcam',
|
||||
type : 'feature',
|
||||
value : 'auto',
|
||||
description : 'Compile the qcam test application')
|
||||
|
||||
option('test',
|
||||
type : 'boolean',
|
||||
description: 'Compile and include the tests')
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue