From 0d40648a85d55da433f74fd53c2ee977ee054973 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 3 Feb 2022 09:52:21 +0100 Subject: tracker/nn: don't specify opencv module list This is because multiple opentrack modules depend on different opencv modules and whichever FIND_PACKAGE(OpenCV COMPONENTS ...) gets executed first, wins. Following FIND_PACKAGE calls will exit and not populate the component list any further. This didn't break the build as the build code for tracker/nn wasn't the one being executed first. --- tracker-neuralnet/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-neuralnet') diff --git a/tracker-neuralnet/CMakeLists.txt b/tracker-neuralnet/CMakeLists.txt index fe8c85b2..2052e33f 100644 --- a/tracker-neuralnet/CMakeLists.txt +++ b/tracker-neuralnet/CMakeLists.txt @@ -1,5 +1,5 @@ include(opentrack-opencv) -find_package(OpenCV QUIET COMPONENTS imgproc core imgcodecs calib3d) +find_package(OpenCV QUIET) find_package(OpenMP QUIET) # Used to control number of onnx threads. find_package(ONNXRuntime QUIET) -- cgit v1.2.3