mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Update CI/before_script.msvc.sh
This commit is contained in:
parent
ef92281b4b
commit
3c173646ce
@ -629,8 +629,8 @@ if [ -z $SKIP_DOWNLOAD ]; then
|
|||||||
|
|
||||||
# SDL2
|
# SDL2
|
||||||
download "SDL 2.24.0" \
|
download "SDL 2.24.0" \
|
||||||
"https://gitlab.com/OpenMW/openmw-deps/-/raw/main/windows/SDL2-2.24.0-win32-x64.zip" \
|
"https://gitlab.com/OpenMW/openmw-deps/-/raw/main/windows/SDL2-devel-2.24.0-VC.zip" \
|
||||||
"SDL2-2.24.0-win32-x64.zip"
|
"SDL2-devel-2.24.0-VC.zip"
|
||||||
|
|
||||||
# LZ4
|
# LZ4
|
||||||
download "LZ4 1.9.2" \
|
download "LZ4 1.9.2" \
|
||||||
@ -951,10 +951,11 @@ printf "SDL 2.24.0... "
|
|||||||
printf "Exists. "
|
printf "Exists. "
|
||||||
elif [ -z $SKIP_EXTRACT ]; then
|
elif [ -z $SKIP_EXTRACT ]; then
|
||||||
rm -rf SDL2-2.24.0
|
rm -rf SDL2-2.24.0
|
||||||
eval 7z x -y SDL2-2.24.0-win32-x64.zip -oSDL2-2.24.0 $STRIP
|
eval 7z x -y SDL2-devel-2.24.0-VC.zip $STRIP
|
||||||
fi
|
fi
|
||||||
|
export SDL2DIR="$(real_pwd)/SDL2-2.24.0"
|
||||||
for config in ${CONFIGURATIONS[@]}; do
|
for config in ${CONFIGURATIONS[@]}; do
|
||||||
add_runtime_dlls $config "$(pwd)/SDL2-2.24.0/SDL2.dll"
|
add_runtime_dlls $config "$(pwd)/SDL2-2.24.0/lib/x${ARCHSUFFIX}/SDL2.dll"
|
||||||
done
|
done
|
||||||
echo Done.
|
echo Done.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user