Browse Source

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

Sasha Szpakowski 2 years ago
parent
commit
fed946505f
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 -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
+      run: cmake -Bbuild -Hmegasource -G "Visual Studio 16 2019" -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
     - name: Install
       shell: cmd
       run: cmake --build build --config Release --target install -j2