From 3d750c5e7dd74487f0fb0392e16c3bfd95dc79df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 19 Jul 2012 22:39:07 +0200 Subject: [PATCH] Don't check if OpenGL ES 2 was found when looking for EglContext. Missed in 7e62a19401d0e30efb0ee849936447b3219529a2. --- modules/FindMagnum.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index f60e0cb6c..e11bb6021 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -109,7 +109,7 @@ foreach(component ${Magnum_FIND_COMPONENTS}) if(${component} STREQUAL EglContext) find_package(EGL) find_package(X11) - if(NOT OPENGLES2_FOUND OR NOT EGL_FOUND OR NOT X11_FOUND) + if(NOT EGL_FOUND OR NOT X11_FOUND) unset(MAGNUM_${_COMPONENT}_LIBRARY) endif() endif()