build: If GLib is a subproject, disable GObject-Introspection

We don't need this and it will only slow down the build.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2025-02-28 12:15:22 +00:00
parent 57abac5bc8
commit 0a01eb02ae

View file

@ -386,6 +386,7 @@ else
required: get_option('modular_tests'),
fallback: ['glib', 'libglib_dep'],
default_options: fallback_subproject_options + [
'introspection=disabled',
'tests=false',
],
)