mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 05:09:01 +08:00
14 lines
533 B
Diff
14 lines
533 B
Diff
diff --git a/configure b/configure
|
|
index 2829d79..697a504 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -6589,7 +6589,7 @@ fi
|
|
|
|
if enabled sdl2; then
|
|
SDL2_CONFIG="${cross_prefix}sdl2-config"
|
|
- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent
|
|
+ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent
|
|
if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then
|
|
sdl2_cflags=$("${SDL2_CONFIG}" --cflags)
|
|
sdl2_extralibs=$("${SDL2_CONFIG}" --libs)
|