--ignore-whitespace in patch Fixes #565

This commit is contained in:
Thomas Krijnen
2019-03-29 09:31:39 +01:00
parent 8c1924084a
commit 0ae1c90797
+1 -1
View File
@@ -290,7 +290,7 @@ if not %ERRORLEVEL%==0 goto :Error
findstr IfcOpenShell "%DEPENDENCY_DIR%\CMakeLists.txt">NUL findstr IfcOpenShell "%DEPENDENCY_DIR%\CMakeLists.txt">NUL
if not %ERRORLEVEL%==0 ( if not %ERRORLEVEL%==0 (
pushd "%DEPENDENCY_DIR%" pushd "%DEPENDENCY_DIR%"
git apply ""%~dp0patches\%OCCT_VER%.patch" git apply --ignore-whitespace ""%~dp0patches\%OCCT_VER%.patch"
popd popd
) )
findstr IfcOpenShell "%DEPENDENCY_DIR%\CMakeLists.txt">NUL findstr IfcOpenShell "%DEPENDENCY_DIR%\CMakeLists.txt">NUL