You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
18 lines
488 B
msg = 'Required for session support.'
|
|
udev = dependency('libudev', required: session_required, not_found_message: msg)
|
|
libseat = dependency(
|
|
'libseat',
|
|
version: '>=0.2.0',
|
|
fallback: 'seatd',
|
|
default_options: ['server=disabled', 'man-pages=disabled', 'examples=disabled'],
|
|
required: session_required,
|
|
not_found_message: msg,
|
|
)
|
|
if not (udev.found() and libseat.found())
|
|
subdir_done()
|
|
endif
|
|
|
|
wlr_files += files('session.c')
|
|
wlr_deps += [udev, libseat]
|
|
features += { 'session': true }
|