2015-12-17 15:01:36 +00:00
|
|
|
include_directories(
|
|
|
|
${JSONC_INCLUDE_DIRS}
|
2016-03-24 22:01:07 +00:00
|
|
|
${WLC_INCLUDE_DIRS}
|
2016-04-28 18:08:41 +00:00
|
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
2015-12-17 15:01:36 +00:00
|
|
|
)
|
|
|
|
|
2015-11-27 14:53:50 +00:00
|
|
|
add_executable(swaygrab
|
2015-12-02 05:57:53 +00:00
|
|
|
main.c
|
2016-09-18 21:41:08 +00:00
|
|
|
json.c
|
2015-11-27 14:53:50 +00:00
|
|
|
)
|
|
|
|
|
2015-12-01 19:05:46 +00:00
|
|
|
target_link_libraries(swaygrab
|
2015-12-02 05:57:53 +00:00
|
|
|
sway-common
|
2015-12-17 15:01:36 +00:00
|
|
|
${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 19:21:38 +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)
|