aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/CMakeLists.txt
blob: b428a409fd245f6c171849c16fdb32336d07bec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_executable(swaymsg
	main.c
)

include_directories(
	${JSONC_INCLUDE_DIRS}
)

target_link_libraries(swaymsg
	sway-common
	${JSONC_LIBRARIES}
)

install(
	TARGETS swaymsg
	RUNTIME
	DESTINATION bin
	COMPONENT runtime
)

if (A2X_FOUND)
    add_manpage(swaymsg 1)
endif()