[totem] build: Introspection is required if requested
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] build: Introspection is required if requested
- Date: Sun, 23 Jul 2017 23:23:14 +0000 (UTC)
commit 70db4f70a420676e79339dae56dd5a2fe73e856f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 24 01:19:47 2017 +0200
build: Introspection is required if requested
Rather than always being optional.
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 2da9134..c2a9998 100644
--- a/meson.build
+++ b/meson.build
@@ -181,7 +181,7 @@ have_gir = false
introspection_option = get_option('enable-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: '>= 0.6.7', required: (introspection_option ==
'yes'))
if gir_dep.found()
have_gir = true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]