summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPablo Correa Gómez <ablocorrea@hotmail.com>2022-02-09 15:05:58 +0100
committerPablo Correa Gómez <ablocorrea@hotmail.com>2022-10-21 14:35:40 +0200
commitab7d752de959b26fc94d54cc67b11464be5dbe2f (patch)
treeb43a8eadd59c463203a09311a6cb33aa875396d2 /meson.build
parentf1e46f0983470282822a9c74608cc54fdb6b2681 (diff)
downloadgnome-control-center-ab7d752de959b26fc94d54cc67b11464be5dbe2f.tar.gz
default-apps: Show SMS and Calls conditional to modem being present
This avoids coggling the UI for those devices for which a modem is not present, as x-scheme-handler/tel and x-scheme-hanlder/sms are of no use in such cases
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 149b18713..bfc61be66 100644
--- a/meson.build
+++ b/meson.build
@@ -222,10 +222,11 @@ config_h.set('HAVE_MALCONTENT', enable_malcontent,
if host_is_linux
# network manager
+ mm_dep = dependency('mm-glib', version: '>= 0.7')
network_manager_deps = [
dependency('libnm', version: '>= 1.24.0'),
dependency('libnma-gtk4', version: '>= 1.8.0'),
- dependency('mm-glib', version: '>= 0.7')
+ mm_dep,
]
endif
config_h.set('BUILD_NETWORK', host_is_linux,