diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-05 21:41:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-05 21:41:26 +0200 |
commit | 8815732f37c5899dbe65d507c082c0c62250ab7d (patch) | |
tree | d350ed3f031447f07794ae4ce51e6f6b00f4bfeb /cmake/opentrack-opencv.cmake | |
parent | 61592edd7b953c35167fb95f1d26aecc4e5c594a (diff) |
cmake: install shared opencv libraries
Issue: #867
Requested by: @Slion
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() |