summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:35:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:35:42 +0200
commit45b577bbae110135097ece0ffbd223d44a52900b (patch)
tree65f86a760dc9fa067fd9ca947403223aaf7b2275
parent70439b5967a32e0fc3409d860ef34b7c99e135df (diff)
cmake: fix non-opencv build
-rw-r--r--cmake/opentrack-opencv.cmake4
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()