From 53fb0622f0c9ca4d40a5fe3442b5e4e635ede1ef Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 8 Sep 2013 07:21:33 +0000 Subject: [PATCH] Fix the glew check. GLES3 can be used on non-Android platforms. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48504d66af..73db7846fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -644,7 +644,7 @@ if(WIN32) find_library(GLEW glew32s PATHS Externals/GLew) include_directories(Externals/GLew/include) else() - if(NOT ANDROID) + if(NOT USE_GLES3) if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") include(FindGLEW) endif()