mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-11 05:34:26 -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
|
|
@ -1,3 +1,7 @@
|
|||
if not features['session']
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
hwdata = dependency('hwdata', required: false, native: true)
|
||||
if hwdata.found()
|
||||
hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue