diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-08-31 14:38:20 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-09-07 10:55:43 +0000 |
commit | 2bb699fc96e80bc2f98d88369718d2b768a53c8f (patch) | |
tree | 7cb21ef8fa6687606b03a24905e47f4671e577c3 /meson.build | |
parent | 77d1c243614d385027ca11f75aa5d688b01c2969 (diff) |
meson: introspection support enabled by default
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index e4bf93b3..4d09cfe7 100644 --- a/meson.build +++ b/meson.build @@ -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') |