Skip to content

Commit

Permalink
Merge pull request #124 from libgit2/fix-x86
Browse files Browse the repository at this point in the history
Force 32-bit Windows build
  • Loading branch information
bording authored Aug 13, 2021
2 parents 79e9976 + ddb25ef commit 8bb23e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.libgit2.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bb23e3

Please sign in to comment.