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

This commit is contained in:
Sasha Szpakowski
2023-01-14 10:54:59 -04:00
parent 52fa5cf8f0
commit fed946505f
+1 -1
View File
@@ -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