mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/session: make optional
Some compositors are not interested in wlr_session, for instance nested compositors. Disabling wlr_session removes the udev dependency.
This commit is contained in:
parent
21254737bf
commit
f0375eed24
10 changed files with 46 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ libinput = dependency(
|
|||
not_found_message: '\n'.join(msg),
|
||||
)
|
||||
|
||||
if not libinput.found()
|
||||
if not (libinput.found() and features['session'])
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue