From 08a43be6347d7cf49d8b785f378cae870af66f26 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 27 Jul 2021 12:48:32 -0400 Subject: [PATCH] build-sys: Fix a warning related to gsettings and config data Part-of: --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 92ceef706..ff260f3be 100644 --- a/meson.build +++ b/meson.build @@ -618,6 +618,8 @@ gio_dep = dependency('gio-2.0', version : '>= 2.26.0') if get_option('gsettings').enabled() assert(gio_dep.found(), 'GSettings support needs glib I/O library (GIO)') cdata.set('HAVE_GSETTINGS', 1) +else + cdata.set('HAVE_GSETTINGS', 0) endif glib_dep = dependency('glib-2.0', version : '>= 2.28.0', required: get_option('glib'))