Skip to content

Commit 31d7c95

Browse files
committed
Update
1 parent 1c5180c commit 31d7c95

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

build.libgit2.ps1

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ try {
124124
cd ..
125125
Run-Command -Quiet { & mkdir build64 }
126126
cd build64
127-
if ($vs -eq "16") {
128-
Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs" -A x64 -D THREADSAFE=ON -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
129-
}
130-
else {
131-
Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs Win64" -D THREADSAFE=ON -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
132-
}
127+
Run-Command -Quiet -Fatal { & $cmake -G "Visual Studio $vs" -A x64 -D THREADSAFE=ON -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
133128
Run-Command -Quiet -Fatal { & $cmake --build . --config $configuration }
134129
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
135130
cd $configuration

0 commit comments

Comments
 (0)