meson: Add systemd-login to core dependencies

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-09-20 18:58:27 +07:00 committed by Arun Raghavan
parent 50bb97261e
commit caa2821ee2

View file

@ -216,6 +216,13 @@ if alsa_dep.found()
cdata.set('HAVE_ALSA_UCM', 1)
endif
systemd_dep = dependency('libsystemd', required : false)
if systemd_dep.found()
cdata.set('HAVE_SYSTEMD_DAEMON', 1)
cdata.set('HAVE_SYSTEMD_LOGIN', 1)
cdata.set('HAVE_SYSTEMD_JOURNAL', 1)
endif
# FIXME: support ORC
cdata.set('DISABLE_ORC', 1)