sway/swaygrab/CMakeLists.txt
Drew DeVault 2ef7cf9e97 Add ffmpeg capture to swaygrab (with limitations)
This needs to be multithreaded to have any sort of realistic expectation
of performance, due to issues with syncronous I/O.
2015-11-27 14:21:38 -05:00

18 lines
353 B
CMake

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)
add_executable(swaygrab
${sources}
${common}
)
TARGET_LINK_LIBRARIES(swaygrab rt)
install(
TARGETS swaygrab
RUNTIME DESTINATION bin
COMPONENT runtime)