aboutsummaryrefslogtreecommitdiffstats
path: root/swayidle/meson.build
blob: 79d2c5c435b6e4d4338c2c0b30902b8389e06772 (plain) (blame)
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
26
27
threads = dependency('threads')

swayidle_deps = [
	client_protos,
	pixman,
	wayland_client,
	wayland_server,
	wlroots,
]

if systemd.found()
	swayidle_deps += systemd
endif
if elogind.found()
	swayidle_deps += elogind
endif

executable(
	'swayidle', [
		'main.c',
	],
	include_directories: [sway_inc],
	dependencies: swayidle_deps,
	link_with: [lib_sway_common, lib_sway_client],
	install_rpath : rpathdir,
	install: true
)