mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #2208 from freiro/libsdl205
Windows, move to SDL2-2.0.5
This commit is contained in:
commit
34d491295c
2 changed files with 3 additions and 3 deletions
|
@ -19,8 +19,8 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
|
||||||
|
|
||||||
if [ ! -e $HOME/.local/lib/libSDL2.la ]; then
|
if [ ! -e $HOME/.local/lib/libSDL2.la ]; then
|
||||||
echo "SDL2 not found in cache, get and build it..."
|
echo "SDL2 not found in cache, get and build it..."
|
||||||
wget http://libsdl.org/release/SDL2-2.0.4.tar.gz -O - | tar xz
|
wget http://libsdl.org/release/SDL2-2.0.5.tar.gz -O - | tar xz
|
||||||
cd SDL2-2.0.4
|
cd SDL2-2.0.5
|
||||||
./configure --prefix=$HOME/.local
|
./configure --prefix=$HOME/.local
|
||||||
make -j4 && make install
|
make -j4 && make install
|
||||||
else
|
else
|
||||||
|
|
|
@ -156,7 +156,7 @@ if (ENABLE_SDL2)
|
||||||
if (CITRA_USE_BUNDLED_SDL2)
|
if (CITRA_USE_BUNDLED_SDL2)
|
||||||
# Detect toolchain and platform
|
# Detect toolchain and platform
|
||||||
if (MSVC14 AND ARCHITECTURE_x86_64)
|
if (MSVC14 AND ARCHITECTURE_x86_64)
|
||||||
set(SDL2_VER "SDL2-2.0.4")
|
set(SDL2_VER "SDL2-2.0.5")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable CITRA_USE_BUNDLED_SDL2 and provide your own.")
|
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable CITRA_USE_BUNDLED_SDL2 and provide your own.")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue