Fix: link onnxruntime to cpp inference example

pull/17521/head
Sam Taylor 3 months ago
parent cece2ee2cf
commit 7e0432b389
  1. 2
      examples/YOLOv8-CPP-Inference/CMakeLists.txt

@ -25,4 +25,4 @@ set(PROJECT_SOURCES
)
add_executable(Yolov8CPPInference ${PROJECT_SOURCES})
target_link_libraries(Yolov8CPPInference ${OpenCV_LIBS})
target_link_libraries(Yolov8CPPInference ${OpenCV_LIBS} onnxruntime)

Loading…
Cancel
Save