Skip to content

Commit 84f034c

Browse files
committed
Use new OpenSSH support
1 parent 438c77e commit 84f034c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.libgit2.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ try {
118118

119119
if ($x86.IsPresent) {
120120
Write-Output "Building x86..."
121-
Run-Command -Fatal { & $cmake -A Win32 -D USE_SSH=OFF -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" .. }
121+
Run-Command -Fatal { & $cmake -A Win32 -D USE_SSH=exec -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" .. }
122122
Run-Command -Fatal { & $cmake --build . --config $configuration }
123123
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
124124
cd $configuration
@@ -134,7 +134,7 @@ try {
134134
Write-Output "Building x64..."
135135
Run-Command -Quiet { & mkdir build64 }
136136
cd build64
137-
Run-Command -Fatal { & $cmake -A x64 -D USE_SSH=OFF -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
137+
Run-Command -Fatal { & $cmake -A x64 -D USE_SSH=exec -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
138138
Run-Command -Fatal { & $cmake --build . --config $configuration }
139139
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
140140
cd $configuration
@@ -149,7 +149,7 @@ try {
149149
Write-Output "Building arm64..."
150150
Run-Command -Quiet { & mkdir buildarm64 }
151151
cd buildarm64
152-
Run-Command -Fatal { & $cmake -A ARM64 -D USE_SSH=OFF -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
152+
Run-Command -Fatal { & $cmake -A ARM64 -D USE_SSH=exec -D USE_HTTPS=Schannel -D "BUILD_TESTS=$build_tests" -D "BUILD_CLI=OFF" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
153153
Run-Command -Fatal { & $cmake --build . --config $configuration }
154154
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
155155
cd $configuration

build.libgit2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export _BINPATH=`pwd`
2828

2929
cmake -DCMAKE_BUILD_TYPE:STRING=Release \
3030
-DBUILD_TESTS:BOOL=OFF \
31-
-DUSE_SSH=OFF \
31+
-DUSE_SSH=exec \
3232
-DLIBGIT2_FILENAME=git2-$SHORTSHA \
3333
-DCMAKE_OSX_ARCHITECTURES=$OSXARCHITECTURE \
3434
-DUSE_HTTPS=$USEHTTPS \

0 commit comments

Comments
 (0)