@@ -11,6 +11,11 @@ option('android_platform',
value : 'generic',
description : 'Select the Android platform to compile for')
+option('apps-output-dng',
+ type : 'feature',
+ value : 'auto',
+ description : 'Enable DNG file creation support in the cam and qcam applications')
+
option('cam',
type : 'feature',
value : 'auto',
@@ -10,7 +10,7 @@ if not libevent.found()
libevent = dependency('libevent_pthreads', required : opt_lc_compliance)
endif
-libtiff = dependency('libtiff-4', required : false)
+libtiff = dependency('libtiff-4', required : get_option('apps-output-dng'))
subdir('common')
Previously it was not possible to disable the use of libtiff in the cam and qcam applications if it was detected. Fix that by adding a meson feature option. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- changes in v2: * rename option v1: https://patchwork.libcamera.org/patch/26056/ --- meson_options.txt | 5 +++++ src/apps/meson.build | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) -- 2.53.0