mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
GLEW_EGL: Fix EGL library check
This commit is contained in:
parent
8c88a0858f
commit
95329dc4a6
@ -87,9 +87,9 @@ 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})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user