mirror of
https://github.com/swaywm/sway.git
synced 2024-09-08 20:16:58 +00:00
24 lines
271 B
CMake
24 lines
271 B
CMake
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()
|