mirror of
https://github.com/swaywm/sway.git
synced 2024-11-18 14:09:14 +00:00
28 lines
425 B
Meson
28 lines
425 B
Meson
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
|
|
)
|