meson: Rename the gtkdoc option to gtk_doc

This is what other modules use
This commit is contained in:
Thibault Saunier 2018-06-14 17:07:10 -04:00
parent d56d224142
commit af2ee3f723
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ subdir('examples')
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

@ -1,4 +1,4 @@
option('introspection', type : 'boolean', value : true, yield : true,
description : 'Generate gobject-introspection bindings')
option('gtkdoc', type : 'boolean', value : true, yield : true,
option('gtk_doc', type : 'boolean', value : true, yield : true,
description : 'Build API documentation with gtk-doc')