Commit e429d5f2 authored by Helen Schottenhamml's avatar Helen Schottenhamml
Browse files

Merge branch 'disable-gui-CI' into 'master'

disable GUI in CI and add deprecation warning

Closes #172

See merge request !507
parents 55e6cf59 a87cd904
Pipeline #36462 passed with stages
in 372 minutes and 35 seconds
......@@ -228,7 +228,6 @@ gcc_7_serial_dbg:
WALBERLA_BUILD_WITH_OPENMP: "OFF"
WALBERLA_BUILD_WITH_PARMETIS: "OFF"
CMAKE_BUILD_TYPE: "DebugOptimized"
WALBERLA_ENABLE_GUI: "ON"
only:
variables:
- $ENABLE_NIGHTLY_BUILDS
......
......@@ -845,6 +845,7 @@ option (WALBERLA_ENABLE_GUI "This flag builds the graphical user interface, depe
if ( WALBERLA_ENABLE_GUI )
message( WARNING "The GUI is deprecated and will probably not work correctly." )
find_package( Qt4 COMPONENTS QtCore QtGui QtOpenGL QtXml REQUIRED )
set( OpenGL_GL_PREFERENCE LEGACY )
find_package( OpenGL REQUIRED )
......
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