mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
build: Make libsystemd an optional dependency
Otherwise it errors out before checking for elogind instead https://gitlab.gnome.org/GNOME/mutter/merge_requests/491
This commit is contained in:
parent
318164779c
commit
2ac7f7f1e5
@ -178,7 +178,7 @@ if have_native_backend
|
|||||||
libgbm_dep = dependency('gbm', version: gbm_req)
|
libgbm_dep = dependency('gbm', version: gbm_req)
|
||||||
libinput_dep = dependency('libinput', version: libinput_req)
|
libinput_dep = dependency('libinput', version: libinput_req)
|
||||||
|
|
||||||
libsystemd_dep = dependency('libsystemd')
|
libsystemd_dep = dependency('libsystemd', required: false)
|
||||||
if libsystemd_dep.found()
|
if libsystemd_dep.found()
|
||||||
logind_provider_dep = libsystemd_dep
|
logind_provider_dep = libsystemd_dep
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user