File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 36
36
- name : Install dependencies
37
37
if : startsWith(matrix.os, 'mac')
38
38
run : |
39
- brew install opencv
39
+ brew install opencv onnxruntime
40
40
- uses : jurplel/install-qt-action@v4
41
41
with :
42
42
version : ${{ matrix.qt_version }}
Original file line number Diff line number Diff line change @@ -2399,9 +2399,11 @@ if (MSVC)
2399
2399
# target_compile_options(SerialPrograms PRIVATE /arch:AVX512 /DPA_Arch_x64_AVX512)
2400
2400
# target_compile_options(SerialPrograms PRIVATE /arch:AVX512 /DPA_Arch_x64_AVX512GF)
2401
2401
else ()
2402
+ execute_process (COMMAND brew --prefix OUTPUT_VARIABLE HOMEBREW_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
2403
+
2402
2404
# Find ONNX Runtime
2403
- target_include_directories (SerialPrograms PRIVATE /opt/homebrew /include /onnxruntime)
2404
- target_link_libraries (SerialPrograms PRIVATE /opt/homebrew /lib/libonnxruntime.dylib)
2405
+ target_include_directories (SerialPrograms PRIVATE ${HOMEBREW_PREFIX} /include /onnxruntime)
2406
+ target_link_libraries (SerialPrograms PRIVATE ${HOMEBREW_PREFIX} /lib/libonnxruntime.dylib)
2405
2407
2406
2408
# Find OpenCV
2407
2409
You can’t perform that action at this time.
0 commit comments