Android: Implement RetroAchievements

This commit is contained in:
Connor McLaughlin
2021-03-13 21:14:05 +10:00
parent 0f1dc93eaa
commit c182edf196
26 changed files with 1225 additions and 63 deletions

View File

@ -69,10 +69,6 @@ if(ANDROID)
message("Building for Android, disabling Discord Presence support")
set(ENABLE_DISCORD_PRESENCE OFF)
endif()
if(ENABLE_CHEEVOS)
message("Building for Android. disabling RetroAchievements support")
set(ENABLE_CHEEVOS OFF)
endif()
if(USE_SDL2)
message("Building for Android, disabling SDL2 support")
set(USE_SDL2 OFF)
@ -83,6 +79,9 @@ if(ANDROID)
if(USE_WAYLAND)
set(USE_WAYLAND OFF)
endif()
# Cheevos are always on.
set(ENABLE_CHEEVOS ON)
endif()
@ -143,7 +142,7 @@ if(USE_EVDEV)
endif()
if(ENABLE_CHEEVOS)
message(STATUS "RetroAchievements support enabled")
if(NOT WIN32)
if(NOT WIN32 AND NOT ANDROID)
find_package(CURL REQUIRED)
endif()
endif()