Permalink
Browse files

Merge pull request #10254 from sergiobenrocha2/patch-1

Missing -lEGL when -DUSING_EGL=ON
  • Loading branch information...
hrydgard committed Dec 4, 2017
2 parents d0d2675 + 4b59fe6 commit 62fc80254314a381f400798dab9f2bf900b2cb14
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -129,6 +129,10 @@ if(NOT OPENGL_LIBRARIES AND USING_GLES2)
set(OPENGL_LIBRARIES GLESv2)
endif()
if(USING_EGL)
set(OPENGL_LIBRARIES ${OPENGL_LIBRARIES} EGL)
endif()
if(NOT OPENGL_LIBRARIES)
find_package(OpenGL REQUIRED)
endif()

0 comments on commit 62fc802

Please sign in to comment.