Browse Source

Don't check if OpenGL ES 2 was found when looking for EglContext.

Missed in 7e62a19401.
vectorfields
Vladimír Vondruš 14 years ago
parent
commit
3d750c5e7d
  1. 2
      modules/FindMagnum.cmake

2
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()

Loading…
Cancel
Save