summaryrefslogtreecommitdiff
path: root/src/cam/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/meson.build')
-rw-r--r--src/cam/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build
index 9c766221..06dbea06 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -52,6 +52,13 @@ if libsdl2.found()
endif
endif
+if libtiff.found()
+ cam_cpp_args += ['-DHAVE_TIFF']
+ cam_sources += files([
+ 'dng_writer.cpp',
+ ])
+endif
+
cam = executable('cam', cam_sources,
dependencies : [
libatomic,
@@ -60,6 +67,7 @@ cam = executable('cam', cam_sources,
libevent,
libjpeg,
libsdl2,
+ libtiff,
libyaml,
],
cpp_args : cam_cpp_args,