summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo@ribalda.com>2020-09-24 09:19:19 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-24 21:08:27 +0300
commit4e998cea15cf3d962473aa5faab99f939d9dc0dd (patch)
treec1698603a4aeb05463b5331bffb97516206842fb /Documentation
parentf08b720acc14fadd70e335e9e1dda1d60dfaeac4 (diff)
Documentation: Search for dot binary
Doxygen depends on dot to generate the documentation. Make this dependency explicit on the meson file. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/meson.build b/Documentation/meson.build
index a09c7f27..7b497aee 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -8,8 +8,9 @@ doc_install_dir = join_paths(get_option('datadir'), 'doc',
#
doxygen = find_program('doxygen', required : false)
+dot = find_program('dot', required : false)
-if doxygen.found()
+if doxygen.found() and dot.found()
cdata = configuration_data()
cdata.set('VERSION', 'v@0@'.format(libcamera_git_version))
cdata.set('TOP_SRCDIR', meson.source_root())