meson: introspection support enabled by default
This commit is contained in:
@@ -254,7 +254,10 @@ endif
|
||||
util_dep = cc.find_library('util')
|
||||
|
||||
# introspection support
|
||||
enable_gir = dependency('gobject-introspection-1.0', version: '>= 0.9.6', required: get_option('introspection')).found()
|
||||
enable_gir = get_option('introspection')
|
||||
if enable_gir
|
||||
dependency('gobject-introspection-1.0', version: '>= 0.9.6')
|
||||
endif
|
||||
|
||||
# vala support
|
||||
enable_vapi = get_option('vapi')
|
||||
|
@@ -90,7 +90,7 @@ option('plugin_zte', type: 'boolean', value: true, description: 'enable zte plug
|
||||
|
||||
option('qcdm_standalone', type: 'boolean', value: true, description: 'enable standalone qdcm')
|
||||
|
||||
option('introspection', type: 'feature', value: 'auto', description: 'build introspection support')
|
||||
option('introspection', type: 'boolean', value: true, description: 'build introspection support')
|
||||
option('vapi', type: 'boolean', value: false, description: 'build vala bindings')
|
||||
|
||||
option('man', type: 'boolean', value: true, description: 'build manual pages')
|
||||
|
Reference in New Issue
Block a user