1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Update VS2019 to VS2022

Required for Actions workflow due to windows-latest Version Change
This commit is contained in:
Yussur Mustafa Oraji 2022-02-14 12:19:54 +01:00 committed by Misa Elizabeth Kai
parent 9c698c084e
commit 0622035424

View file

@ -157,7 +157,7 @@ jobs:
cd $env:SRC_DIR_PATH/build cd $env:SRC_DIR_PATH/build
$env:LDFLAGS = "/LIBPATH:C:\SDL2-$env:SDL_VERSION\lib\x86 " $env:LDFLAGS = "/LIBPATH:C:\SDL2-$env:SDL_VERSION\lib\x86 "
$env:LDFLAGS += "/LIBPATH:C:\SDL2_mixer-$env:SDL_MIXER_VERSION\lib\x86" $env:LDFLAGS += "/LIBPATH:C:\SDL2_mixer-$env:SDL_MIXER_VERSION\lib\x86"
cmake -G "Visual Studio 16 2019" -A Win32 ` cmake -G "Visual Studio 17 2022" -A Win32 `
-DSDL2_INCLUDE_DIRS="C:\SDL2-$env:SDL_VERSION\include;C:\SDL2_mixer-$env:SDL_MIXER_VERSION\include" ` -DSDL2_INCLUDE_DIRS="C:\SDL2-$env:SDL_VERSION\include;C:\SDL2_mixer-$env:SDL_MIXER_VERSION\include" `
-DSDL2_LIBRARIES="SDL2;SDL2main;SDL2_mixer" .. -DSDL2_LIBRARIES="SDL2;SDL2main;SDL2_mixer" ..
- name: Build (default version) - name: Build (default version)