message(FATAL_ERROR"EGL library, required by some window contexts, was not found. Set WITH_*EGL*APPLICATION to OFF to skip building them.")
endif()
include_directories(${EGL_INCLUDE_DIR})
set(MagnumEglContextHandler_SRCS
Implementation/EglContextHandler.cpp
Implementation/Egl.cpp)
@ -441,6 +443,13 @@ endif()
#EGLcontext
if(NEED_EGLCONTEXTORWITH_EGLCONTEXT)
find_package(EGL)
if(NOTEGL_FOUND)
message(FATAL_ERROR"EGL library, required by some window contexts, was not found. Set WITH_*APPLICATION and/or WITH_EGLCONTEXT to OFF to skip building them.")