ParaViewFunctions: set VTK_RENDERING_BACKEND_DEFAULT=OpenGL2

This commit is contained in:
Henry Weller
2016-07-01 11:59:03 +01:00
parent 17cafd3581
commit 60bbf1eb15

View File

@ -492,10 +492,10 @@ INFO
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Clear the referenced variables before using any of the functions # Clear the referenced variables before using any of the functions
unset withMPI withVERBOSE unset withMPI withVERBOSE
unset withQT QMAKE_PATH unset withQT QMAKE_PATH
unset withMESA MESA_INCLUDE MESA_LIBRARY unset withMESA MESA_INCLUDE MESA_LIBRARY
unset withPYTHON PYTHON_INCLUDE PYTHON_LIBRARY unset withPYTHON PYTHON_INCLUDE PYTHON_LIBRARY
unset CMAKE_VARIABLES unset CMAKE_VARIABLES
unset OBJ_ADD unset OBJ_ADD
unset buildType unset buildType
@ -503,6 +503,9 @@ unset buildType
# Start with these general settings # Start with these general settings
addCMakeVariable "BUILD_SHARED_LIBS:BOOL=ON VTK_USE_RPATH:BOOL=OFF" addCMakeVariable "BUILD_SHARED_LIBS:BOOL=ON VTK_USE_RPATH:BOOL=OFF"
# Choose the new rendering engine
addCMakeVariable "VTK_RENDERING_BACKEND_DEFAULT=OpenGL2"
# Include development files in "make install" # Include development files in "make install"
addCMakeVariable "PARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON" addCMakeVariable "PARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON"