meson: rename gtkdoc option to gtk_doc

This commit is contained in:
Tim-Philipp Müller 2018-05-21 23:10:21 +01:00
parent dea69f4c1e
commit 724cc53b28
2 changed files with 2 additions and 2 deletions

View file

@ -482,7 +482,7 @@ configure_file(output : 'config.h', configuration : cdata)
if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows')
elif not get_option('gtkdoc')
elif not get_option('gtk_doc')
message('gtk-doc is disabled via options')
else
if find_program('gtkdoc-scan', required : false).found()

View file

@ -14,7 +14,7 @@ option('ptp-helper-permissions', type : 'combo',
# Common options
option('examples', type : 'boolean', value : true, yield : true)
option('gtkdoc', type : 'boolean', value : true, yield : true,
option('gtk_doc', type : 'boolean', value : true, yield : true,
description : 'Generate API documentation with gtk-doc')
option('introspection', type : 'boolean', value : true, yield : true,
description : 'Generate gobject-introspection bindings')