[gobject-introspection: 1/2] meson.build: exclude girepo_dep if introspection data is disabled
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection: 1/2] meson.build: exclude girepo_dep if introspection data is disabled
- Date: Sat, 7 Nov 2020 06:56:35 +0000 (UTC)
commit 747d0d03107cbf34b1f453f8edfe41d2aac2b5f7
Author: Alexander Kanavin <alex kanavin gmail com>
Date: Tue Oct 20 22:40:14 2020 +0200
meson.build: exclude girepo_dep if introspection data is disabled
Signed-off-by: Alexander Kanavin <alex kanavin gmail com>
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 3761af7ff..3bbcf8deb 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]