From f3ecb6820e6f2e3ea6cabf51715034478bff79f9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 3 Feb 2022 09:54:07 +0100 Subject: tracker/neuralnet: specify only required opencv modules --- tracker-neuralnet/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tracker-neuralnet/CMakeLists.txt b/tracker-neuralnet/CMakeLists.txt index 2052e33f..3623808a 100644 --- a/tracker-neuralnet/CMakeLists.txt +++ b/tracker-neuralnet/CMakeLists.txt @@ -14,7 +14,10 @@ if(OpenCV_FOUND AND ONNXRuntime_FOUND AND OpenMP_FOUND) target_link_libraries(${self} opentrack-cv onnxruntime::onnxruntime - ${OpenCV_LIBS} + opencv_calib3d + opencv_imgproc + opencv_imgcodecs + opencv_core OpenMP::OpenMP_C ) -- cgit v1.2.3