From 42ae5c406f3fa3062923dd71d34aa109902b75e4 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 6 May 2011 15:10:42 -0300 Subject: Remove the restriction of detecing QtOpenGL module just when the gl.h header was found. This is needed to be able to compile the QtOpenGL module on Linux when using OpenGL-ES backend. On the other hand OpenGL-ES support isn't yet supported under MS Windows but I don't think that this should be a problem at all. --- PySide/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt index ac1529fc9..62c806858 100644 --- a/PySide/CMakeLists.txt +++ b/PySide/CMakeLists.txt @@ -19,9 +19,7 @@ HAS_QT_MODULE(QT_QTWEBKIT_FOUND QtWebKit) HAS_QT_MODULE(QT_QTSVG_FOUND QtSvg) HAS_QT_MODULE(QT_QTXML_FOUND QtXml) HAS_QT_MODULE(QT_QTTEST_FOUND QtTest) -if (GL_H) - HAS_QT_MODULE(QT_QTOPENGL_FOUND QtOpenGL) -endif() +HAS_QT_MODULE(QT_QTOPENGL_FOUND QtOpenGL) HAS_QT_MODULE(QT_QTSQL_FOUND QtSql) if(QT_QTDESIGNER_FOUND) HAS_QT_MODULE(QT_QTUITOOLS_FOUND QtUiTools) -- cgit v1.2.3