From 8a98d0963fdf9f485e9119771e3301cba9dd8a54 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 10 Dec 2021 10:25:22 -0600 Subject: Use a variable for the required version of gobject-introspection For consistency with the way the versions for other dependencies are declared. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index cfd2e091..fa6ca53e 100644 --- a/meson.build +++ b/meson.build @@ -47,6 +47,7 @@ libdbus_req_version = '>= 1.5' glib_req_version = '>= 2.62.0' gobject_req_version = '>= 2.0.0' gio_req_version = '>= 2.28.0' +gir_req_version = '>= 0.6.7' libdbus_dep = dependency('dbus-1', version: libdbus_req_version) glib_dep = dependency('glib-2.0', version: glib_req_version) @@ -106,7 +107,7 @@ have_gir = false introspection_option = get_option('introspection') if introspection_option != 'no' - gir_dep = dependency('gobject-introspection-1.0', version: '>= 0.6.7', required: false) + gir_dep = dependency('gobject-introspection-1.0', version: gir_req_version, required: false) if gir_dep.found() have_gir = true -- cgit v1.2.1