build-deps - use other mpir fork to support VS 2026

This commit is contained in:
Andrej730
2026-02-06 15:02:03 +00:00
parent 0e90cd81b3
commit 1fb6227d13
+2 -1
View File
@@ -298,8 +298,9 @@ IF EXIST "%INSTALL_DIR%\mpir" (
)
set DEPENDENCY_NAME=mpir
:: `mpfr` depends on relative path `..\mpir\config.h`, so dependency name should match exactly.
set DEPENDENCY_DIR=%DEPS_DIR%\mpir
call :GitCloneAndCheckoutRevision https://github.com/BrianGladman/mpir.git "%DEPENDENCY_DIR%"
call :GitCloneAndCheckoutRevision https://github.com/Andrej730/mpir-vs2026.git "%DEPENDENCY_DIR%"
IF NOT %ERRORLEVEL%==0 GOTO :Error
pushd "%DEPENDENCY_DIR%"
git reset --hard