Skip to content

Commit 8bb23e3

Browse files
authored
Merge pull request #124 from libgit2/fix-x86
Force 32-bit Windows build
2 parents 79e9976 + ddb25ef commit 8bb23e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.libgit2.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ try {
109109

110110
if ($x86.IsPresent) {
111111
Write-Output "Building 32-bit..."
112-
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" .. }
112+
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" .. }
113113
Run-Command -Fatal { & $cmake --build . --config $configuration }
114114
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
115115
cd $configuration

0 commit comments

Comments
 (0)