gtk-doc: Ensure we have recent enough version

Older versions won't produce errors, but will silently miss
documentation for a few symbols.
This commit is contained in:
Xavier Claessens 2019-11-29 14:29:23 -05:00
parent 691485fb7c
commit 160143ae27

View File

@ -29,6 +29,12 @@ gtkdoc_common_scan_args = [
'--ignore-decorators=' + '|'.join(ignore_decorators),
]
if get_option('gtk_doc')
# Check we have the minimum gtk-doc version required. Older versions won't
# generate correct documentation.
dependency('gtk-doc', version : '>=1.32')
endif
subdir('gio')
subdir('glib')
subdir('gobject')