Merge pull request #5179 from vitor-k/reenable-hidapi

Reenable hidapi for SDL2.0.12 and up
This commit is contained in:
Ben
2020-04-27 16:35:51 +02:00
committed by GitHub
3 changed files with 5 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ if (ENABLE_SDL2)
if (CITRA_USE_BUNDLED_SDL2)
# Detect toolchain and platform
if ((MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS 1930) AND ARCHITECTURE_x86_64)
set(SDL2_VER "SDL2-2.0.10")
set(SDL2_VER "SDL2-2.0.12")
else()
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable CITRA_USE_BUNDLED_SDL2 and provide your own.")
endif()