Fix: prevent linkage error if EGL and GLES is not in one big blob

This commit is contained in:
AreaScout 2018-09-25 12:19:23 +00:00
parent e263b3af85
commit d222417bfe

View file

@ -179,7 +179,7 @@ endif()
include_directories(ext/native)
if(NOT OPENGL_LIBRARIES AND USING_GLES2)
set(OPENGL_LIBRARIES GLESv2)
set(OPENGL_LIBRARIES GLESv2 EGL)
endif()
if(USING_EGL)