Skip to content

Commit 43ae8f4

Browse files
committed
updated versions because linux needs older version
Changed v2.32.2 to v2.28.2 for sdl2
1 parent 544737a commit 43ae8f4

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/bin/Release)
1010
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) # fallback
1111

1212
# Tested versions - other versions use at your own risk
13-
set(TESTED_SDL2_VERSION "2.32.2")
13+
set(TESTED_SDL2_VERSION "2.28.2")
1414
set(TESTED_SDL2_IMAGE_VERSION "2.8.8")
1515
set(TESTED_SDL2_MIXER_VERSION "2.8.1")
1616
set(TESTED_SDL2_TTF_VERSION "2.24.0")

DEPENDENCIES.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ This project has been tested with the following dependencies:
55
## Core Dependencies
66
- CMake >= 3.10
77
- C++17 compatible compiler
8-
- SDL2 2.32.2
9-
- SDL2_image 2.8.8
10-
- SDL2_mixer 2.8.1
11-
- SDL2_ttf 2.24.0
8+
- SDL2 >= 2.28.2
9+
- SDL2_image >= 2.8.8
10+
- SDL2_mixer >= 2.8.1
11+
- SDL2_ttf >= 2.24.0
12+
13+
## Notes
14+
- These are the minimum tested versions
15+
- Newer versions should work fine
16+
- Older versions may work but are not guaranteed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sudo apt-get install -y \
5656
libsdl2-mixer-dev \
5757
libsdl2-ttf-dev
5858

59-
# Note: Requires SDL2 2.32.2, SDL2_image 2.8.8, SDL2_mixer 2.8.1, SDL2_ttf 2.24.0
59+
# Note: Requires SDL2 2.28.2+, SDL2_image 2.8.8+, SDL2_mixer 2.8.1+, SDL2_ttf 2.24.0+
6060
```
6161

6262
Then build directly:

vcpkg.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
"dependencies": [
55
{
66
"name": "sdl2",
7-
"version>=": "2.32.2"
7+
"version>=": "2.28.2"
88
},
99
{
1010
"name": "sdl2-image",
1111
"version>=": "2.8.8"
1212
},
13-
{
14-
"name": "sdl2-ttf",
15-
"version>=": "2.24.0"
16-
},
1713
{
1814
"name": "sdl2-mixer",
1915
"version>=": "2.8.1",
2016
"features": ["mpg123"]
17+
},
18+
{
19+
"name": "sdl2-ttf",
20+
"version>=": "2.24.0"
2121
}
2222
],
2323
"builtin-baseline": "5300a2a461a53b76405db4fcbe6aeb0eea43935d"

0 commit comments

Comments
 (0)