summaryrefslogtreecommitdiffhomepage
path: root/cv/CMakeLists.txt
blob: 6124763485e4c45ac740546947899c110e5ea5ab (plain)
1
2
3
4
5
6
7
find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules})
if(OpenCV_FOUND)
    otr_module(cv STATIC)
    set(modules opencv_core opencv_videoio)
    target_link_libraries(opentrack-cv ${modules})
    target_include_directories(opentrack-cv SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
endif()