From eb4840e078b14637c6bde47f152c055aff0f3ccd Mon Sep 17 00:00:00 2001 From: Mateusz Bencer Date: Sat, 27 Mar 2021 09:15:31 +0100 Subject: [PATCH] apply --ignore-space-change --ignore-whitespace for onnx patch (#4987) --- ngraph/cmake/external_onnx.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngraph/cmake/external_onnx.cmake b/ngraph/cmake/external_onnx.cmake index 2d249499859..d2502a21bc2 100644 --- a/ngraph/cmake/external_onnx.cmake +++ b/ngraph/cmake/external_onnx.cmake @@ -24,7 +24,7 @@ FetchContent_Declare( GIT_REPOSITORY ${ONNX_GIT_REPO_URL} GIT_TAG ${ONNX_GIT_BRANCH} # apply patch to fix problems with symbols visibility for MSVC - PATCH_COMMAND git reset --hard HEAD && git apply --verbose ${ONNX_PATCH_FILE} + PATCH_COMMAND git reset --hard HEAD && git apply --ignore-space-change --ignore-whitespace --verbose ${ONNX_PATCH_FILE} ) macro(onnx_set_target_properties)