From 0c7e9fb52a50c5ae02a5dcc5e422d0b82590d930 Mon Sep 17 00:00:00 2001 From: sfatimar <64512376+sfatimar@users.noreply.github.com> Date: Mon, 14 Sep 2020 21:29:41 +0530 Subject: [PATCH] changes to ensure compilation issues in windows is fixed by disabling the level 3 warning 4267 (#5147) while a more permanent fix is found Co-authored-by: sfatimar --- cmake/onnxruntime_providers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/onnxruntime_providers.cmake b/cmake/onnxruntime_providers.cmake index 193f7bf1f3..7f661a1965 100644 --- a/cmake/onnxruntime_providers.cmake +++ b/cmake/onnxruntime_providers.cmake @@ -591,7 +591,7 @@ if (onnxruntime_USE_OPENVINO) target_link_libraries(onnxruntime_providers_openvino ${OPENVINO_LIB_LIST}) if(MSVC) - target_compile_options(onnxruntime_providers_openvino PUBLIC /wd4275 /wd4100 /wd4005 /wd4244) + target_compile_options(onnxruntime_providers_openvino PUBLIC /wd4275 /wd4100 /wd4005 /wd4244 /wd4267) endif() endif()