sway/swaygrab/CMakeLists.txt

27 lines
311 B
CMake
Raw Normal View History

include_directories(
${JSONC_INCLUDE_DIRS}
${WLC_INCLUDE_DIRS}
${XKBCOMMON_INCLUDE_DIRS}
)
2015-11-27 14:53:50 +00:00
add_executable(swaygrab
main.c
json.c
2015-11-27 14:53:50 +00:00
)
2015-12-01 19:05:46 +00:00
target_link_libraries(swaygrab
sway-common
${JSONC_LIBRARIES}
2015-12-01 19:46:10 +00:00
rt
2016-01-24 01:59:58 +00:00
m
2015-12-01 19:05:46 +00:00
)
2015-11-27 14:53:50 +00:00
install(
2015-12-01 19:46:10 +00:00
TARGETS swaygrab
RUNTIME
DESTINATION bin
COMPONENT runtime
2015-12-01 19:05:46 +00:00
)
2015-12-02 10:47:34 +00:00
add_manpage(swaygrab 1)