mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
Remove hardcoded desktop lib (#4193)
This commit is contained in:
parent
f74861841e
commit
2e3607c7cd
1 changed files with 4 additions and 2 deletions
|
|
@ -30,8 +30,10 @@ 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)
|
||||
# Windows platform adapter code uses advapi32, which isn't linked in by default in desktop ARM
|
||||
if (NOT WINDOWS_STORE)
|
||||
list(APPEND onnxruntime_EXTERNAL_LIBRARIES advapi32)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND onnxruntime_common_src_patterns
|
||||
"${ONNXRUNTIME_ROOT}/core/platform/posix/*.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue