swayfx/swaygrab/CMakeLists.txt

23 lines
252 B
CMake
Raw Normal View History

include_directories(
${JSONC_INCLUDE_DIRS}
)
2015-11-28 01:53:50 +11:00
add_executable(swaygrab
main.c
2015-11-28 01:53:50 +11:00
)
2015-12-02 06:05:46 +11:00
target_link_libraries(swaygrab
sway-common
${JSONC_LIBRARIES}
2015-12-02 06:46:10 +11:00
rt
2015-12-02 06:05:46 +11:00
)
2015-11-28 01:53:50 +11:00
install(
2015-12-02 06:46:10 +11:00
TARGETS swaygrab
RUNTIME
DESTINATION bin
COMPONENT runtime
2015-12-02 06:05:46 +11:00
)
2015-12-02 21:47:34 +11:00
add_manpage(swaygrab 1)