mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/session: Make libseat mandatory
This commit is contained in:
parent
21e8a940b8
commit
95b657ba80
5 changed files with 8 additions and 23 deletions
|
|
@ -1,7 +1,14 @@
|
|||
libseat = dependency('libseat',
|
||||
version: '>=0.2.0',
|
||||
fallback: ['seatd', 'libseat'],
|
||||
default_options: ['server=disabled', 'man-pages=disabled'],
|
||||
)
|
||||
|
||||
wlr_files += files(
|
||||
'direct-ipc.c',
|
||||
'noop.c',
|
||||
'session.c',
|
||||
'libseat.c'
|
||||
)
|
||||
|
||||
if host_machine.system().startswith('freebsd')
|
||||
|
|
@ -10,16 +17,4 @@ else
|
|||
wlr_files += files('direct.c')
|
||||
endif
|
||||
|
||||
# libseat
|
||||
|
||||
libseat = dependency('libseat',
|
||||
required: get_option('libseat'),
|
||||
version: '>=0.2.0',
|
||||
fallback: ['seatd', 'libseat'],
|
||||
default_options: ['server=disabled', 'man-pages=disabled'],
|
||||
)
|
||||
if libseat.found()
|
||||
wlr_files += files('libseat.c')
|
||||
wlr_deps += libseat
|
||||
features += { 'libseat': true }
|
||||
endif
|
||||
wlr_deps += libseat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue