summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2020-11-07 06:56:34 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2020-11-07 06:56:34 +0000
commit19c67f77e23cf80da957bfa0b28c1b31d81339f0 (patch)
tree369912c4e0951da025189d47d6d45a49b8b1d487
parentfc8a9994e84f9eb299018485c215467ff5fefa67 (diff)
parent747d0d03107cbf34b1f453f8edfe41d2aac2b5f7 (diff)
downloadgobject-introspection-19c67f77e23cf80da957bfa0b28c1b31d81339f0.tar.gz
Merge branch 'fix-no-data' into 'master'
meson.build: exclude girepo_dep if introspection data is disabled See merge request GNOME/gobject-introspection!248
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3761af7f..3bbcf8de 100644
--- a/meson.build
+++ b/meson.build
@@ -283,7 +283,7 @@ pkg.generate(
# FIXME: meson.override_dependency() and declare_dependency()'s variable arguments
# are new in Meson 0.54.0, older versions of Meson won't be able to use g-i as
# subproject anyway
-if meson.version().version_compare('>=0.54.0')
+if meson.version().version_compare('>=0.54.0') and get_option('build_introspection_data') == true
girepo_dep = declare_dependency(
sources: typelibs,
dependencies: girepo_dep,