fixed build with Qt

This commit is contained in:
Vladislav Vinogradov
2011-11-27 10:13:08 +00:00
parent 467f936459
commit 35e69a1ee3
3 changed files with 7 additions and 11 deletions

View File

@@ -1125,7 +1125,7 @@ if(WIN32)
endif()
endif()
if (WITH_OPENGL)
if (WITH_OPENGL AND NOT HAVE_QT_OPENGL)
find_package(OpenGL QUIET)
if (OPENGL_FOUND)