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
commit ed304e2877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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()