[libcamera-devel] [PATCH v2 08/11] Documentation: Search for dot binary
Ricardo Ribalda
ricardo at ribalda.com
Thu Sep 24 09:19:19 CEST 2020
Doxygen depends on dot to generate the documentation. Make this
dependency explicit on the meson file.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Signed-off-by: Ricardo Ribalda <ricardo at ribalda.com>
---
Documentation/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/meson.build b/Documentation/meson.build
index a09c7f2..7b497ae 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 at 0@'.format(libcamera_git_version))
cdata.set('TOP_SRCDIR', meson.source_root())
--
2.28.0
More information about the libcamera-devel
mailing list