mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
build break for arm64, adding advapi32.lib (#2206)
This commit is contained in:
parent
fcf50ca081
commit
02dc3a9dcb
2 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,8 @@ if(WIN32)
|
|||
"${ONNXRUNTIME_ROOT}/core/platform/windows/logging/*.h"
|
||||
"${ONNXRUNTIME_ROOT}/core/platform/windows/logging/*.cc"
|
||||
)
|
||||
# wndows platform adapter code uses advapi32
|
||||
list(APPEND onnxruntime_EXTERNAL_LIBRARIES advapi32)
|
||||
else()
|
||||
list(APPEND onnxruntime_common_src_patterns
|
||||
"${ONNXRUNTIME_ROOT}/core/platform/posix/*.h"
|
||||
|
|
|
|||
|
|
@ -599,7 +599,7 @@ endif()
|
|||
|
||||
if (onnxruntime_BUILD_SHARED_LIB)
|
||||
set(onnxruntime_perf_test_libs onnxruntime_test_utils onnx_test_runner_common onnxruntime_common re2
|
||||
onnx_test_data_proto onnx_proto libprotobuf ${GETOPT_LIB_WIDE} onnxruntime
|
||||
onnx_test_data_proto onnx_proto libprotobuf ${GETOPT_LIB_WIDE} onnxruntime ${onnxruntime_EXTERNAL_LIBRARIES}
|
||||
${SYS_PATH_LIB} ${CMAKE_DL_LIBS})
|
||||
if(onnxruntime_USE_NSYNC)
|
||||
list(APPEND onnxruntime_perf_test_libs nsync_cpp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue