File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,12 @@ 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+ 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+ }
128133 Run- Command - Quiet - Fatal { & $cmake -- build . -- config $configuration }
129134 if ($test.IsPresent ) { Run- Command - Quiet - Fatal { & $ctest - V . } }
130135 cd $configuration
You can’t perform that action at this time.
0 commit comments