Commit 945da049 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller Committed by Olivier Crête

meson: check for gtkdoc-scan

parent 274e8bd0
...@@ -229,8 +229,14 @@ if gst_dep.found() ...@@ -229,8 +229,14 @@ if gst_dep.found()
subdir('gst') subdir('gst')
endif endif
if not get_option('gtk_doc').disabled() if build_machine.system() == 'windows'
subdir('docs/reference/libnice') message('Disabling gtk-doc while building on Windows')
else
if find_program('gtkdoc-scan', required: get_option('gtk_doc')).found()
subdir('docs/reference/libnice')
else
message('Not building documentation as gtk-doc was not found')
endif
endif endif
if not get_option('tests').disabled() if not get_option('tests').disabled()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment