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