summaryrefslogtreecommitdiff
path: root/src/apps/qcam
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-20 01:11:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-20 13:36:26 +0300
commit24f8ef763a60f410963fd8897a16ae077aaeff0d (patch)
tree2fee5d6093f3e51aff7260117f0fadf6f10e5dfa /src/apps/qcam
parentcd5439fb97518d8bce0eb2af3f9562d6fd593acf (diff)
apps: Move libtiff dependency to src/apps/meson.build
libtiff is a shared dependency between cam and qcam, move it to src/apps/. The shared dependency will be used to condition compilation of source files in an upcoming application static library. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam')
-rw-r--r--src/apps/qcam/meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build
index d5916d0d..e298101e 100644
--- a/src/apps/qcam/meson.build
+++ b/src/apps/qcam/meson.build
@@ -38,8 +38,7 @@ qcam_resources = files([
qt5_cpp_args = ['-DQT_NO_KEYWORDS']
-tiff_dep = dependency('libtiff-4', required : false)
-if tiff_dep.found()
+if libtiff.found()
qt5_cpp_args += ['-DHAVE_TIFF']
qcam_sources += files([
'../cam/dng_writer.cpp',
@@ -77,7 +76,7 @@ qcam = executable('qcam', qcam_sources, resources,
dependencies : [
libatomic,
libcamera_public,
+ libtiff,
qt5_dep,
- tiff_dep,
],
cpp_args : qt5_cpp_args)