wlroots/backend/session/meson.build

26 lines
502 B
Meson
Raw Normal View History

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
2020-07-25 19:53:06 +00:00
# libseat
libseat = dependency('libseat',
required: get_option('libseat'),
version: '>=0.2.0',
fallback: ['seatd', 'libseat'],
default_options: ['server=disabled', 'man-pages=disabled'],
)
2020-07-25 19:53:06 +00:00
if libseat.found()
wlr_files += files('libseat.c')
wlr_deps += libseat
features += { 'libseat': true }
2020-07-25 19:53:06 +00:00
endif