[gnome-contacts] Meson: make sure cheese is required when told so
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Meson: make sure cheese is required when told so
- Date: Tue, 12 Sep 2017 09:51:48 +0000 (UTC)
commit fda6f14a02172bcc982bf1ecb6fea05aa20752e1
Author: Niels De Graef <nielsdegraef gmail com>
Date: Tue Sep 12 11:51:28 2017 +0200
Meson: make sure cheese is required when told so
meson.build | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index d996aaa..6851dda 100644
--- a/meson.build
+++ b/meson.build
@@ -49,8 +49,9 @@ math = meson.get_compiler('c').find_library('m')
# Options
cheese_enabled = (get_option('with-cheese') != 'no')
if cheese_enabled
- cheese = dependency('cheese', required: cheese_enabled)
- cheese_gtk = dependency('cheese-gtk', version: '>= 3.3.91', required: cheese_enabled)
+ cheese_required = (cheese_enabled == 'yes')
+ cheese = dependency('cheese', required: cheese_required)
+ cheese_gtk = dependency('cheese-gtk', version: '>= 3.3.91', required: cheese_required)
cheese_enabled = cheese.found() and cheese_gtk.found()
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]