mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Use feature options for libcap/logind
We now use a combo choice between systemd/elogind as they are mutually exclusive anyway.
This commit is contained in:
parent
3fa3dca6d5
commit
94ed2fc7bb
3 changed files with 8 additions and 21 deletions
|
|
@ -44,9 +44,9 @@ else
|
|||
backend_files += files('session/direct.c')
|
||||
endif
|
||||
|
||||
if conf_data.get('WLR_HAS_SYSTEMD', false)
|
||||
if logind.found()
|
||||
backend_files += files('session/logind.c')
|
||||
backend_deps += systemd
|
||||
backend_deps += logind
|
||||
endif
|
||||
|
||||
if conf_data.get('WLR_HAS_X11_BACKEND', false)
|
||||
|
|
@ -58,11 +58,6 @@ if conf_data.get('WLR_HAS_X11_BACKEND', false)
|
|||
backend_deps += xcb_xkb
|
||||
endif
|
||||
|
||||
if conf_data.get('WLR_HAS_ELOGIND', false)
|
||||
backend_files += files('session/logind.c')
|
||||
backend_deps += elogind
|
||||
endif
|
||||
|
||||
lib_wlr_backend = static_library(
|
||||
'wlr_backend',
|
||||
backend_files,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue