mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Delay load dxcore in winml model tests
This commit is contained in:
parent
b50b0a89aa
commit
b57a7f4de3
1 changed files with 3 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ if(NOT onnxruntime_ENABLE_MEMLEAK_CHECKER)
|
|||
SOURCES ${winml_test_model_src}
|
||||
LIBS winml_test_common ${winml_test_model_libs}
|
||||
)
|
||||
if (EXISTS ${dxcore_header})
|
||||
target_delayload(winml_test_model ext-ms-win-dxcore-l1-*.dll)
|
||||
endif()
|
||||
target_precompiled_header(winml_test_model testPch.h)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue