From 45b577bbae110135097ece0ffbd223d44a52900b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 22 Sep 2019 13:35:42 +0200 Subject: cmake: fix non-opencv build --- cmake/opentrack-opencv.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake') 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() -- cgit v1.2.3