Merge branch 'fix-gtk_doc=true' into 'main'

meson: Require gi-docgen when gtk_doc is required

See merge request GNOME/gtk!5351
This commit is contained in:
Matthias Clasen 2022-12-20 04:17:22 +00:00
commit 21e9a508bd

View File

@ -1,9 +1,7 @@
toml_conf = configuration_data()
toml_conf.set('version', meson.project_version())
gidocgen = find_program('gi-docgen',
required: get_option('gtk_doc') and get_option('introspection').enabled(),
native: true)
gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'), native: true)
gidocgen_common_args = [
'--quiet',