Commit 2ac7f7f1 authored by Tom Briden's avatar Tom Briden Committed by Georges Basile Stavracas Neto

build: Make libsystemd an optional dependency

Otherwise it errors out before checking for elogind instead

GNOME/mutter!491
parent 31816477
......@@ -178,7 +178,7 @@ if have_native_backend
libgbm_dep = dependency('gbm', version: gbm_req)
libinput_dep = dependency('libinput', version: libinput_req)
libsystemd_dep = dependency('libsystemd')
libsystemd_dep = dependency('libsystemd', required: false)
if libsystemd_dep.found()
logind_provider_dep = libsystemd_dep
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment