aboutsummaryrefslogtreecommitdiff
path: root/backend/session/meson.build
blob: 4c20ee9df779172dfbaf9770eec424bd0d35ec67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 }