diff options
Diffstat (limited to 'cmake/opentrack-opencv.cmake')
-rw-r--r-- | cmake/opentrack-opencv.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/opentrack-opencv.cmake b/cmake/opentrack-opencv.cmake new file mode 100644 index 00000000..4504e59f --- /dev/null +++ b/cmake/opentrack-opencv.cmake @@ -0,0 +1,12 @@ +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-hier-pfx}") + endforeach() +endfunction() + +otr_install_opencv_libs() |