|
|
|
@ -489,7 +489,7 @@ if (ENABLE_SDL2) |
|
|
|
if (YUZU_USE_BUNDLED_SDL2) |
|
|
|
# Detect toolchain and platform |
|
|
|
if ((MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS 1940) AND ARCHITECTURE_x86_64) |
|
|
|
set(SDL2_VER "SDL2-2.0.18") |
|
|
|
set(SDL2_VER "SDL2-2.28.0") |
|
|
|
else() |
|
|
|
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable YUZU_USE_BUNDLED_SDL2 and provide your own.") |
|
|
|
endif() |
|
|
|
@ -509,7 +509,7 @@ if (ENABLE_SDL2) |
|
|
|
elseif (YUZU_USE_EXTERNAL_SDL2) |
|
|
|
message(STATUS "Using SDL2 from externals.") |
|
|
|
else() |
|
|
|
find_package(SDL2 2.0.18 REQUIRED) |
|
|
|
find_package(SDL2 2.26.4 REQUIRED) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|