2015-11-27 04:41:24 +11:00
|
|
|
add_executable(swaymsg
|
2015-12-02 16:57:53 +11:00
|
|
|
main.c
|
2015-11-27 04:41:24 +11:00
|
|
|
)
|
|
|
|
|
2016-12-08 23:34:08 +11:00
|
|
|
include_directories(
|
|
|
|
${JSONC_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
2015-12-02 16:57:53 +11:00
|
|
|
target_link_libraries(swaymsg
|
|
|
|
sway-common
|
2016-08-01 04:45:53 +10:00
|
|
|
${JSONC_LIBRARIES}
|
|
|
|
)
|
2015-12-02 16:57:53 +11:00
|
|
|
|
2015-11-27 04:41:24 +11:00
|
|
|
install(
|
2015-12-02 06:46:10 +11:00
|
|
|
TARGETS swaymsg
|
|
|
|
RUNTIME
|
|
|
|
DESTINATION bin
|
|
|
|
COMPONENT runtime
|
2015-12-02 06:05:46 +11:00
|
|
|
)
|
2015-12-02 21:47:34 +11:00
|
|
|
|
2017-07-05 06:00:13 +10:00
|
|
|
if (A2X_FOUND)
|
|
|
|
add_manpage(swaymsg 1)
|
|
|
|
endif()
|