From d222417bfecc3a52879e97e6a9003acf3e55c67d Mon Sep 17 00:00:00 2001 From: AreaScout Date: Tue, 25 Sep 2018 12:19:23 +0000 Subject: [PATCH] Fix: prevent linkage error if EGL and GLES is not in one big blob --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82d30349de..38625e3e9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)