swayfx/swaymsg/CMakeLists.txt

24 lines
271 B
CMake
Raw Normal View History

2015-11-27 04:41:24 +11:00
add_executable(swaymsg
main.c
2015-11-27 04:41:24 +11:00
)
include_directories(
${JSONC_INCLUDE_DIRS}
)
target_link_libraries(swaymsg
sway-common
${JSONC_LIBRARIES}
)
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
if (A2X_FOUND)
add_manpage(swaymsg 1)
endif()