Fix the glew check. GLES3 can be used on non-Android platforms.
This commit is contained in:
parent
e6af4970d8
commit
53fb0622f0
|
@ -644,7 +644,7 @@ if(WIN32)
|
||||||
find_library(GLEW glew32s PATHS Externals/GLew)
|
find_library(GLEW glew32s PATHS Externals/GLew)
|
||||||
include_directories(Externals/GLew/include)
|
include_directories(Externals/GLew/include)
|
||||||
else()
|
else()
|
||||||
if(NOT ANDROID)
|
if(NOT USE_GLES3)
|
||||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
include(FindGLEW)
|
include(FindGLEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue