build-sys: Fix a warning related to gsettings and config data
authorArun Raghavan <arun@asymptotic.io>
Tue, 27 Jul 2021 16:48:32 +0000 (12:48 -0400)
committerArun Raghavan <arun@asymptotic.io>
Tue, 27 Jul 2021 16:49:24 +0000 (12:49 -0400)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/607>

meson.build

index 92ceef7..ff260f3 100644 (file)
@@ -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'))