From ddb25ef890e1599e5dfe53224ae7e272a54b1211 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 12 Aug 2021 23:12:29 -0400 Subject: [PATCH] Force 32-bit Windows build --- build.libgit2.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.libgit2.ps1 b/build.libgit2.ps1 index 1e192599..aeefd202 100644 --- a/build.libgit2.ps1 +++ b/build.libgit2.ps1 @@ -109,7 +109,7 @@ try { if ($x86.IsPresent) { Write-Output "Building 32-bit..." - Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -D ENABLE_TRACE=ON -D USE_SSH=OFF -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" .. } + Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A Win32 -D ENABLE_TRACE=ON -D USE_SSH=OFF -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" .. } Run-Command -Fatal { & $cmake --build . --config $configuration } if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } } cd $configuration