sway-patched-tray-menu/swaygrab/CMakeLists.txt

23 lines
355 B
Text
Raw Normal View History

2015-11-27 15:53:50 +01:00
project(swaygrab)
set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/)
file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c)
file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c)
2015-11-27 15:53:50 +01:00
add_executable(swaygrab
${sources}
${common}
)
2015-12-01 20:05:46 +01:00
target_link_libraries(swaygrab
rt
)
2015-11-27 15:53:50 +01:00
install(
2015-12-01 20:05:46 +01:00
TARGETS swaygrab
RUNTIME
DESTINATION bin
COMPONENT runtime
)