Permalink
Browse files

cmake: Android does not support X11 "yet?", Trying to find solution h…

…ere "use EGL instead ?".
  • Loading branch information...
rafal1137 committed Dec 6, 2018
1 parent 8d0bf33 commit 313fb4c40ff1b20c4677c14bf849a31afdb54428
Showing with 4 additions and 2 deletions.
  1. +4 −2 cmake/ETLSetupFeatures.cmake
6 cmake/ETLSetupFeatures.cmake 100644 → 100755
@@ -18,8 +18,10 @@ endif(NOT OLD_CROSS_COMPILE32 STREQUAL CROSS_COMPILE32)
#-----------------------------------------------------------------
if(BUILD_CLIENT)
if(NOT WIN32) # Dependency of GLEW and SDL_syswm.h
find_package(X11 REQUIRED)
include_directories(${X11_INCLUDE_DIR})
if(NOT ANDROID)
find_package(X11 REQUIRED)
include_directories(${X11_INCLUDE_DIR})
endif(NOT ANDROID)
endif(NOT WIN32)
if(NOT FEATURE_RENDERER_GLES)

0 comments on commit 313fb4c

Please sign in to comment.