summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool/CMakeLists.txt
blob: 6e7863e6ded0dd04c7bcb65a2c5098713566c11d (plain)
1
2
3
4
5
6
7
8
9
10
11
find_package(OpenCV QUIET REQUIRED COMPONENTS core imgcodecs imgproc)
set(self "${PROJECT_NAME}-anim-crop-tool")

include_directories(SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
link_libraries(Corrade::Utility Magnum::Magnum)
link_libraries(opencv_imgproc opencv_imgcodecs opencv_core)
link_libraries(${PROJECT_NAME})

file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_executable(${self} ${sources})
install(TARGETS ${self} RUNTIME DESTINATION "bin")