Commit 46867bf7 authored by Martin Bauer's avatar Martin Bauer
Browse files

Newer CMake version reported warning when calling OpenGL find script

parent c7852c3b
......@@ -858,6 +858,7 @@ option (WALBERLA_ENABLE_GUI "This flag builds the graphical user interface, depe
if ( WALBERLA_ENABLE_GUI )
find_package( Qt4 COMPONENTS QtCore QtGui QtOpenGL QtXml REQUIRED )
set( OpenGL_GL_PREFERENCE LEGACY )
find_package( OpenGL REQUIRED )
INCLUDE( ${QT_USE_FILE} )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment