Commit 461edcc8 authored by Xavier Claessens's avatar Xavier Claessens

Change introspection option to feature type

parent 9d7a3bf0
......@@ -93,8 +93,8 @@ pkgg.generate(
requires: 'gio-2.0',
)
build_gir = get_option('introspection')
if build_gir
gir = find_program('g-ir-scanner', required : get_option('introspection'))
if gir.found()
gir_args = [
'--quiet',
'--c-include=json-glib/json-glib.h',
......
option('introspection',
type: 'boolean', value: true,
type: 'feature', value: 'auto', yield: true,
description: 'Build the introspection data (requires gobject-introspection)')
option('docs',
type: 'boolean', value: false,
......
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