From aba567338b25c8cefe9e9e257d34ad3a61776276 Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Date: Thu, 24 Sep 2020 09:19:20 +0200 Subject: Documentation: Move all dependencies into features This way if the user enables the documentation and the dependencies are missing the configure fails. Suggested-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- Documentation/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Documentation') diff --git a/Documentation/meson.build b/Documentation/meson.build index 7b497aee..d3d64f71 100644 --- a/Documentation/meson.build +++ b/Documentation/meson.build @@ -7,8 +7,8 @@ doc_install_dir = join_paths(get_option('datadir'), 'doc', # Doxygen # -doxygen = find_program('doxygen', required : false) -dot = find_program('dot', required : false) +doxygen = find_program('doxygen', required : get_option('documentation')) +dot = find_program('dot', required : get_option('documentation')) if doxygen.found() and dot.found() cdata = configuration_data() @@ -42,7 +42,7 @@ endif sphinx = find_program('sphinx-build-3', required : false) if not sphinx.found() - sphinx = find_program('sphinx-build', required : false) + sphinx = find_program('sphinx-build', required : get_option('documentation')) endif if sphinx.found() -- cgit v1.2.1