File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2396,8 +2396,12 @@ if (MSVC)
23962396# target_compile_options(SerialPrograms PRIVATE /arch:AVX512 /DPA_Arch_x64_AVX512)
23972397# target_compile_options(SerialPrograms PRIVATE /arch:AVX512 /DPA_Arch_x64_AVX512GF)
23982398else ()
2399- # Find OpenCV
2399+ # Find ONNX Runtime
2400+ # Run `brew install onnxruntime` first
2401+ target_include_directories (SerialPrograms PRIVATE /opt/homebrew/include /onnxruntime)
2402+ target_link_libraries (SerialPrograms PRIVATE /opt/homebrew/lib/libonnxruntime.dylib)
24002403
2404+ # Find OpenCV
24012405 # set(OPENCV_DIR, "/usr/local/opt/opencv/lib/cmake/opencv4")
24022406 find_package (OpenCV REQUIRED HINTS "/usr/local/opt/opencv/lib/cmake/opencv4/" )
24032407 # set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/opencv/lib/pkgconfig")
You can’t perform that action at this time.
0 commit comments