summaryrefslogtreecommitdiffhomepage
path: root/cv/CMakeLists.txt
blob: 1007344c5cfe1cbcf4ad9dd5c35d0092b01adcdf (plain)
1
2
3
4
5
6
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
    otr_module(cv STATIC)
    target_link_libraries(${self} opencv_core opencv_videoio)
    target_include_directories(${self} SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
endif()