Fix the glew check. GLES3 can be used on non-Android platforms.

This commit is contained in:
Ryan Houdek 2013-09-08 07:21:33 +00:00
parent e6af4970d8
commit 53fb0622f0
1 changed files with 1 additions and 1 deletions

View File

@ -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()