sway/swaygrab/CMakeLists.txt

21 lines
281 B
CMake
Raw Normal View History

2015-11-27 14:53:50 +00:00
project(swaygrab)
file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
2015-11-27 14:53:50 +00:00
add_executable(swaygrab
2015-12-01 19:46:10 +00:00
${sources}
${common}
2015-11-27 14:53:50 +00:00
)
2015-12-01 19:05:46 +00:00
target_link_libraries(swaygrab
2015-12-01 19:46:10 +00:00
rt
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
)