summaryrefslogtreecommitdiffhomepage
path: root/tracker-neuralnet/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-neuralnet/CMakeLists.txt')
-rw-r--r--tracker-neuralnet/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/tracker-neuralnet/CMakeLists.txt b/tracker-neuralnet/CMakeLists.txt
index 36395684..bcdbbc81 100644
--- a/tracker-neuralnet/CMakeLists.txt
+++ b/tracker-neuralnet/CMakeLists.txt
@@ -5,14 +5,9 @@ find_package(ONNXRuntime QUIET)
if(OpenCV_FOUND AND ONNXRuntime_FOUND AND OpenMP_FOUND)
otr_module(tracker-neuralnet)
- target_include_directories(${self}
- SYSTEM PRIVATE
- ${OpenCV_INCLUDE_DIRS}
- ${ONNXRuntime_INCLUDE_DIRS}
- )
target_link_libraries(${self}
- opentrack-cv
- ${ONNXRuntime_LIBRARIES}
+ opentrack-cv
+ onnxruntime
${OpenCV_LIBS}
OpenMP::OpenMP_C
)