summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-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()