build: Support building libretro core for Android

This commit is contained in:
Connor McLaughlin
2020-07-07 20:27:06 +10:00
parent c242d4707f
commit 01287cb7da
4 changed files with 10 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ if(USE_EGL)
gl/context_egl_x11.h
)
endif()
if(ANDROID)
if(ANDROID AND USE_EGL)
target_sources(common PRIVATE
gl/context_egl_android.cpp
gl/context_egl_android.h