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.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tracker-neuralnet/CMakeLists.txt b/tracker-neuralnet/CMakeLists.txt
index f414c920..c9d380ab 100644
--- a/tracker-neuralnet/CMakeLists.txt
+++ b/tracker-neuralnet/CMakeLists.txt
@@ -9,6 +9,10 @@ if(OpenCV_FOUND AND ONNXRuntime_FOUND AND OpenMP_FOUND)
add_definitions(-D_HAS_EXCEPTIONS=1)
endif()
+ if(EXISTS "${ONNXRuntime_INCLUDE_DIR}/onnxruntime/core/session/.")
+ include_directories("${ONNXRuntime_INCLUDE_DIR}/onnxruntime/core/session")
+ endif()
+
otr_module(tracker-neuralnet)
target_link_libraries(${self}