Skip to content

Commit c0f5304

Browse files
GinMysticial
authored andcommitted
add onnx to macOS build. Still need Linux setting
1 parent 815fc86 commit c0f5304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2400,11 +2400,11 @@ if (MSVC)
24002400
# target_compile_options(SerialPrograms PRIVATE /arch:AVX512 /DPA_Arch_x64_AVX512GF)
24012401
else()
24022402
# Find ONNX Runtime
2403+
# Run `brew install onnxruntime` first
24032404
target_include_directories(SerialPrograms PRIVATE /opt/homebrew/include/onnxruntime)
24042405
target_link_libraries(SerialPrograms PRIVATE /opt/homebrew/lib/libonnxruntime.dylib)
24052406

24062407
# Find OpenCV
2407-
24082408
# set(OPENCV_DIR, "/usr/local/opt/opencv/lib/cmake/opencv4")
24092409
find_package(OpenCV REQUIRED HINTS "/usr/local/opt/opencv/lib/cmake/opencv4/")
24102410
# set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/opencv/lib/pkgconfig")

0 commit comments

Comments
 (0)