Explicit OpenGL version checking is not needed anymore

This commit is contained in:
Aleix Pol 2014-03-21 12:00:05 +01:00
parent 7b14e38132
commit 8b8f327458

View file

@ -114,11 +114,6 @@ set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
TYPE REQUIRED
)
if(NOT OPENGL_FOUND AND NOT OPENGLES_FOUND)
message(FATAL_ERROR "Either OpenGL or OpenGL ES 2.0 are required for Compositing support in KWin.")
endif()
# All the required XCB components
find_package(XCB REQUIRED COMPONENTS
XCB