Browse Source

Revert "CI: explicitly set the visual studio version when building for windows"

This reverts commit fed946505f7f7587cfc3dd8649dc21019b408410.
Sasha Szpakowski 2 years ago
parent
commit
0acb2f57dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/main.yml

@@ -53,7 +53,7 @@ jobs:
       shell: cmd
       env:
         PLATFORM: ${{ matrix.platform }}
-      run: cmake -Bbuild -Hmegasource -G "Visual Studio 16 2019" -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
+      run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
     - name: Install
       shell: cmd
       run: cmake --build build --config Release --target install -j2