CMake: Don't disable EGL for Android

Fixes OpenGL renderer being unavailable.
pull/1432/head
Connor McLaughlin 5 years ago
parent 19032750b4
commit 5d7d848fe6

@ -43,19 +43,19 @@ endif()
if(ANDROID)
if(BUILD_SDL_FRONTEND)
message(WARNING "Building for Android or libretro core, disabling SDL frontend")
message(WARNING "Building for Android, disabling SDL frontend")
set(BUILD_SDL_FRONTEND OFF)
endif()
if(BUILD_QT_FRONTEND)
message(WARNING "Building for Android or libretro core, disabling Qt frontend")
message(WARNING "Building for Android, disabling Qt frontend")
set(BUILD_QT_FRONTEND OFF)
endif()
if(ENABLE_DISCORD_PRESENCE)
message("Building for Android or libretro core, disabling Discord Presence support")
message("Building for Android, disabling Discord Presence support")
set(ENABLE_DISCORD_PRESENCE OFF)
endif()
if(USE_SDL2)
message("Building for Android or libretro core, disabling SDL2 support")
message("Building for Android, disabling SDL2 support")
set(USE_SDL2 OFF)
endif()
if(USE_X11)
@ -64,9 +64,6 @@ if(ANDROID)
if(USE_WAYLAND)
set(USE_WAYLAND OFF)
endif()
if(USE_EGL)
set(USE_EGL OFF)
endif()
endif()

Loading…
Cancel
Save