Skip to content

Commit

Permalink
CMake: Don't disable EGL for Android
Browse files Browse the repository at this point in the history
Fixes OpenGL renderer being unavailable.
  • Loading branch information
stenzek committed Jan 10, 2021
1 parent 1903275 commit 5d7d848
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -64,9 +64,6 @@ if(ANDROID)
if(USE_WAYLAND)
set(USE_WAYLAND OFF)
endif()
if(USE_EGL)
set(USE_EGL OFF)
endif()
endif()


Expand Down

0 comments on commit 5d7d848

Please sign in to comment.