summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@Gmail.com>2013-09-08 07:21:33 +0000
committerRyan Houdek <Sonicadvance1@Gmail.com>2013-09-08 07:21:33 +0000
commit53fb0622f0c9ca4d40a5fe3442b5e4e635ede1ef (patch)
tree83ea3399aca8692e5a9371eb64af6fe8c997b659
parente6af4970d8bfadd2ad72e69bd80e6fec6463e7a7 (diff)
Fix the glew check. GLES3 can be used on non-Android platforms.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()