summaryrefslogtreecommitdiffhomepage
path: root/anim/CMakeLists.txt
blob: bc148a06cbbb785d6f4278b8f8e88facccf7e355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
find_package(OpenCV QUIET REQUIRED COMPONENTS core imgcodecs imgproc)
find_package(nlohmann_json QUIET REQUIRED)

set(self "${PROJECT_NAME}-anim")

include_directories(SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
link_libraries(opencv_imgproc opencv_imgcodecs opencv_core)
link_libraries(Magnum::Magnum nlohmann_json::nlohmann_json)

file(GLOB sources "*.cpp" CONFIGURE_ARGS)
add_library(${self} STATIC ${sources})