blob: ae4bc54250f93bd1fc45727a750cc3a065a09b6d (
plain)
1
2
3
4
5
6
7
8
9
|
find_package(OpenCV QUIET REQUIRED COMPONENTS core imgcodecs imgproc)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
set(self "${PROJECT_NAME}-anim")
add_library(${self} STATIC ${sources})
target_include_directories(${self} SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
target_link_libraries(${self} opencv_imgproc opencv_imgcodecs opencv_core)
target_link_libraries(${self} Magnum::Magnum)
|