diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-22 13:35:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-22 13:35:42 +0200 |
commit | 45b577bbae110135097ece0ffbd223d44a52900b (patch) | |
tree | 65f86a760dc9fa067fd9ca947403223aaf7b2275 | |
parent | 70439b5967a32e0fc3409d860ef34b7c99e135df (diff) |
cmake: fix non-opencv build
-rw-r--r-- | cmake/opentrack-opencv.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/opentrack-opencv.cmake b/cmake/opentrack-opencv.cmake index 49f83882..b8c3701c 100644 --- a/cmake/opentrack-opencv.cmake +++ b/cmake/opentrack-opencv.cmake @@ -9,4 +9,6 @@ function(otr_install_opencv_libs) endforeach() endfunction() -otr_install_opencv_libs() +if(TARGET opencv_core) + otr_install_opencv_libs() +endif() |