build,meson: Make use of feature option for introspection
This commit is contained in:
committed by
Aleksander Morgado
parent
190bf5b351
commit
fe53de8bdd
+1
-4
@@ -254,10 +254,7 @@ endif
|
||||
util_dep = cc.find_library('util')
|
||||
|
||||
# introspection support
|
||||
enable_gir = get_option('introspection')
|
||||
if enable_gir
|
||||
dependency('gobject-introspection-1.0', version: '>= 0.9.6')
|
||||
endif
|
||||
enable_gir = dependency('gobject-introspection-1.0', version: '>= 0.9.6', required: get_option('introspection')).found()
|
||||
|
||||
# vala support
|
||||
enable_vapi = get_option('vapi')
|
||||
|
||||
Reference in New Issue
Block a user