diff options
Diffstat (limited to 'anim/CMakeLists.txt')
-rw-r--r-- | anim/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/anim/CMakeLists.txt b/anim/CMakeLists.txt new file mode 100644 index 00000000..ae4bc542 --- /dev/null +++ b/anim/CMakeLists.txt @@ -0,0 +1,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) |