Skip to content

Commit ea4140e

Browse files
authored
Merge pull request libgit2#115 from jairbubbles/allow-compiling-with-visual-studio-2019
Allow compiling with Visual Studio 2019
2 parents 2453a6d + 31d7c95 commit ea4140e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.libgit2.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ try {
124124
cd ..
125125
Run-Command -Quiet { & mkdir build64 }
126126
cd build64
127-
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" ../.. }
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" ../.. }
128128
Run-Command -Quiet -Fatal { & $cmake --build . --config $configuration }
129129
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
130130
cd $configuration

0 commit comments

Comments
 (0)