Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix the glew check. GLES3 can be used on non-Android platforms.
  • Loading branch information
Sonicadvance1 committed Sep 8, 2013
1 parent e6af497 commit 53fb062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 53fb062

Please sign in to comment.