summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-opencv.cmake
blob: 403564182474f836c46d301899a0c49c1bb05682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include_guard(GLOBAL)

include(opentrack-boilerplate)
find_package(OpenCV QUIET)

function(otr_install_opencv_libs)
    foreach(k core features2d calib3d flann imgcodecs imgproc videoio)
        otr_install_lib("opencv_${k}" "${opentrack-libexec}")
    endforeach()
endfunction()

if(TARGET opencv_core)
    otr_install_opencv_libs()
endif()