Jelajahi Sumber

Move to SDL2-2.0.5

freiro 9 tahun lalu
induk
melakukan
9ca3a2d461
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      .travis-deps.sh
  2. 1 1
      CMakeLists.txt

+ 2 - 2
.travis-deps.sh

@@ -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
-        cd SDL2-2.0.4
+        wget http://libsdl.org/release/SDL2-2.0.5.tar.gz -O - | tar xz
+        cd SDL2-2.0.5
         ./configure --prefix=$HOME/.local
         ./configure --prefix=$HOME/.local
         make -j4 && make install
         make -j4 && make install
     else
     else

+ 1 - 1
CMakeLists.txt

@@ -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()