ref: c4dea948cb87cab375a4c54859ad75442a388b7d
parent: e04227c5f6729b460e0b8e5fb52eae2d5acd15ef
author: Konstantin Pavlov <thresh@videolan.org>
date: Fri Mar 6 12:05:50 EST 2020
doc: search for dot as it's needed to build doxygen documentation
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -23,8 +23,9 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
doxygen = find_program('doxygen', required: false)
+dot = find_program('dot', required: false)
-if doxygen.found()
+if doxygen.found() and dot.found()
conf_data = configuration_data()
conf_data.set('DOXYGEN_INPUT', join_paths(meson.source_root(), 'include/dav1d'))
conf_data.set('DOXYGEN_STRIP', join_paths(meson.source_root(), 'include'))