mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Additional cmake changes for OpenVINO build (#7579)
->unsetting the CMAKE_MAP_IMPORTED_CONFIG that was set for OpenVINO EP for Relwithdebinfo build on windows. Signed-off-by: MaajidKhan <n.maajidkhan@gmail.com> Co-authored-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
This commit is contained in:
parent
830f0b45d0
commit
5413eaa5e4
1 changed files with 4 additions and 0 deletions
|
|
@ -562,6 +562,10 @@ if (onnxruntime_USE_OPENVINO)
|
|||
find_package(InferenceEngine REQUIRED)
|
||||
find_package(ngraph REQUIRED)
|
||||
|
||||
if (WIN32)
|
||||
unset(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO)
|
||||
endif()
|
||||
|
||||
if (OPENVINO_VERSION VERSION_EQUAL "2020.3")
|
||||
list(APPEND OPENVINO_LIB_LIST ${InferenceEngine_LIBRARIES} ${NGRAPH_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||
else()
|
||||
|
|
|
|||
Loading…
Reference in a new issue