meson: Add dependency to gobject-introspection

We seem to need this to build the introspection bindings.

Closes: #385
This commit is contained in:
Benjamin Berg 2021-06-21 17:00:57 +02:00
parent 7ff95dc39a
commit db1e88138b

View file

@ -87,6 +87,9 @@ mathlib_dep = cc.find_library('m', required: false)
# The following dependencies are only used for tests # The following dependencies are only used for tests
cairo_dep = dependency('cairo', required: false) cairo_dep = dependency('cairo', required: false)
# introspection scanning and Gio-2.0.gir
gobject_introspection = dependency('gobject-introspection-1.0', required: get_option('introspection'))
# Drivers # Drivers
drivers = get_option('drivers').split(',') drivers = get_option('drivers').split(',')
virtual_drivers = [ virtual_drivers = [