Cheevos: Linux support

This commit is contained in:
Connor McLaughlin
2021-02-28 19:01:16 +10:00
parent a032d191c8
commit 10c3506f1a
10 changed files with 694 additions and 6 deletions

View File

@@ -65,6 +65,10 @@ 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)
@@ -133,6 +137,13 @@ if(USE_EVDEV)
message(STATUS "EVDev Support enabled")
find_package(LIBEVDEV REQUIRED)
endif()
if(ENABLE_CHEEVOS)
message(STATUS "RetroAchievements support enabled")
if(NOT WIN32)
find_package(CURL REQUIRED)
endif()
endif()
# Set _DEBUG macro for Debug builds.
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")