From 865fd99eba63cf73feac2a916ab3badbbc8950a1 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 8 Sep 2026 15:59:01 +0500 Subject: [PATCH] build-deps/occt: drop cleaning up `inc` directory Turned out it wasn't cmake/occt problem and was a general Windows issue - realtime protection is slowing down cmake reinstalls. See https://redirect.github.com/Open-Cascade-SAS/OCCT/issues/901 --- win/build-deps.cmd | 3 --- 1 file changed, 3 deletions(-) diff --git a/win/build-deps.cmd b/win/build-deps.cmd index e5bb427b6c..77910ab229 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -535,9 +535,6 @@ IF %ARCH_BITS%==32 ( call :BuildCMakeProject "%DEPENDENCY_DIR%\%BUILD_DIR%" %BUILD_CFG% if not %ERRORLEVEL%==0 goto :Error -:: If `inc` is present in installation folder, then installation takes much longer -:: See https://github.com/Open-Cascade-SAS/OCCT/issues/901 -powershell -c "$path = '%DEPENDENCY_INSTALL_DIR%\inc'; if (Test-Path $path) { Remove-Item -Recurse -Force $path }" call :InstallCMakeProject "%DEPENDENCY_DIR%\%BUILD_DIR%" %BUILD_CFG% if not %ERRORLEVEL%==0 goto :Error