Skip to content
Snippets Groups Projects
Commit 9e248936 authored by Samuel Kayode's avatar Samuel Kayode
Browse files

Segmentation: CMakeLists: update include path

The plugin fails to build from an error in the include paths. Update
the include path for the failing onnx unit.

Change-Id: I3adb36db07c0de777540543839851101daeb9f96
parent bec21f6c
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ set (CONTRIB_ROOT_PATH ${CONTRIB_PATH}/${CONTRIB_PLATFORM})
set (CMAKE_BUILD_RPATH "$ORIGIN")
set (SDK_PATH ${PROJECT_SOURCE_DIR}/../SDK)
set (CMAKE_POSITION_INDEPENDENT_CODE ON)
set (ONNX_PATH ${CONTRIB_ROOT_PATH})
set (ONNX_PATH ${CONTRIB_PATH}/native/onnx)
if (ENABLE_CUDA)
set (ONNX_LIBS nvidia-gpu)
......@@ -173,7 +173,7 @@ target_include_directories (${ProjectName} PUBLIC
${DAEMON}/src
${CONTRIB_PATH}/${CONTRIB_PLATFORM}/include
${CONTRIB_PATH}/${CONTRIB_PLATFORM}/include/opencv4
${ONNX_PATH}/include/onnxruntime/session
${ONNX_PATH}/include/onnxruntime/core/session
${PLUGINS_LIB}
)
if (ENABLE_CUDA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment