diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-05-06 15:10:42 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:20 -0300 |
commit | 42ae5c406f3fa3062923dd71d34aa109902b75e4 (patch) | |
tree | d29e96bb0ef37fd34520e4715ccff8904302ac79 /PySide | |
parent | 03312ecc18395035374ceadb4211edcffffb2c53 (diff) |
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.
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 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) |