diff options
-rw-r--r-- | meson.build | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meson.build b/meson.build index b9178093..515f63df 100644 --- a/meson.build +++ b/meson.build @@ -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') |