mirror of
https://github.com/nigels-com/glew.git
synced 2025-04-20 23:52:55 +00:00
GLEW_EGL: Fix EGL library check
This commit is contained in:
parent
9fb23c3e61
commit
d6bf82c4a0
@ -87,7 +87,7 @@ endif ()
|
||||
|
||||
if (GLEW_EGL AND UNIX)
|
||||
add_definitions (-DGLEW_EGL)
|
||||
if (OpenGL::EGL)
|
||||
if (NOT OpenGL_EGL_FOUND)
|
||||
message (FATAL_ERROR "EGL library set but not found.")
|
||||
endif ()
|
||||
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
||||
|
Loading…
Reference in New Issue
Block a user