mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Make gio-2.0 optional when gsettings is disabled
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654>
This commit is contained in:
parent
c789bc5fe3
commit
de8b0c1124
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ if get_option('daemon')
|
||||||
cdata.set('HAVE_ALSA_UCM', 1)
|
cdata.set('HAVE_ALSA_UCM', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
gio_dep = dependency('gio-2.0', version : '>= 2.26.0')
|
gio_dep = dependency('gio-2.0', version : '>= 2.26.0', required : false)
|
||||||
if get_option('gsettings').enabled()
|
if get_option('gsettings').enabled()
|
||||||
assert(gio_dep.found(), 'GSettings support needs glib I/O library (GIO)')
|
assert(gio_dep.found(), 'GSettings support needs glib I/O library (GIO)')
|
||||||
cdata.set('HAVE_GSETTINGS', 1)
|
cdata.set('HAVE_GSETTINGS', 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue