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 <sahar.fatima@intel/com>
This commit is contained in:
sfatimar 2020-09-14 21:29:41 +05:30 committed by GitHub
parent 9392aa2f64
commit 0c7e9fb52a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()