aboutsummaryrefslogtreecommitdiff
path: root/backend/session/meson.build
blob: 016d0fbb5cec1e8f2015290fed09a02235644172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
wlr_files += files(
	'direct-ipc.c',
	'noop.c',
	'session.c',
)

if host_machine.system().startswith('freebsd')
	wlr_files += files('direct-freebsd.c')
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