[libcamera-devel] [PATCH 8/9] Documentation: Search for dot binary
Ricardo Ribalda
ricardo at ribalda.com
Wed Sep 23 17:15:21 CEST 2020
Doxygen depends on dot to generate the documentation. Make this
dependency explicit on the meson file.
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