mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
GLEW_EGL: Fix EGL library check
This commit is contained in:
parent
8c88a0858f
commit
95329dc4a6
@ -87,7 +87,7 @@ endif ()
|
|||||||
|
|
||||||
if (GLEW_EGL AND UNIX)
|
if (GLEW_EGL AND UNIX)
|
||||||
add_definitions (-DGLEW_EGL)
|
add_definitions (-DGLEW_EGL)
|
||||||
if (OpenGL::EGL)
|
if (NOT OpenGL_EGL_FOUND)
|
||||||
message (FATAL_ERROR "EGL library set but not found.")
|
message (FATAL_ERROR "EGL library set but not found.")
|
||||||
endif ()
|
endif ()
|
||||||
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
||||||
|
Loading…
Reference in New Issue
Block a user