meson: introspection support enabled by default

This commit is contained in:
Aleksander Morgado
2021-09-07 10:55:43 +00:00
parent 77d1c24361
commit 2bb699fc96
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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')