Skip to content

Commit f2ffeec

Browse files
authored
Upgrade to SDL2.0.20 (#270)
* Upgrade to SDL2.0.20 Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
1 parent 0ad088e commit f2ffeec

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

‎sdl2_vendor/CMakeLists.txt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ endif()
1414

1515
if(NOT SDL2_FOUND)
1616
include(ExternalProject)
17-
ExternalProject_Add(SDL2-2.0.14
18-
PREFIX SDL2-2.0.12
19-
URL https://www.libsdl.org/release/SDL2-2.0.14.tar.gz
20-
URL_MD5 76ed4e6da9c07bd168b2acd9bfefab1b
17+
ExternalProject_Add(SDL2-2.0.20
18+
PREFIX SDL2-2.0.20
19+
URL https://www.libsdl.org/release/SDL2-2.0.20.tar.gz
20+
URL_MD5 a53acc02e1cca98c4123229069b67c9e
2121
CMAKE_ARGS
2222
-DBUILD_SHARED_LIBS=ON
2323
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
--- a/CMakeLists.txt.orig 2020-04-01 14:23:24.000000000 +0000
2-
+++ b/CMakeLists.txt 2020-04-01 14:23:38.000000000 +0000
3-
@@ -1556,9 +1556,9 @@ elseif(WINDOWS)
1+
--- a/CMakeLists.txt.orig
2+
+++ b/CMakeLists.txt
3+
@@ -1693,6 +1693,6 @@ elseif(WINDOWS)
44
endif()
55

66
# Libraries for Win32 native and MinGW
77
if(NOT WINDOWS_STORE)
88
- list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
99
+ list(APPEND EXTRA_LIBS vcruntime user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
1010
endif()
11-
12-
# TODO: in configure.ac the check for timers is set on
13-
# cygwin | mingw32* - does this include mingw32CE?

0 commit comments

Comments
 (0)