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