summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-02-03 09:54:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-02-03 09:54:07 +0100
commitf3ecb6820e6f2e3ea6cabf51715034478bff79f9 (patch)
tree5ff6f4beedc2c49d94e25778126efff395b32dd6 /tracker-neuralnet/CMakeLists.txt
parent0d40648a85d55da433f74fd53c2ee977ee054973 (diff)
tracker/neuralnet: specify only required opencv modules
Diffstat (limited to 'tracker-neuralnet/CMakeLists.txt')
-rw-r--r--tracker-neuralnet/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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
)