Skip to content
Snippets Groups Projects
Commit 0f9fe6b8 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: paraview mpi config not being passed to vtk backend?

parent 7f4a904b
No related branches found
No related tags found
1 merge request!5Final content for 1712 release
......@@ -128,10 +128,10 @@ setParaViewVersion()
#
addCMakeVariable()
{
while [ -n "$1" ]
local i
for i
do
CMAKE_VARIABLES="$CMAKE_VARIABLES -D$1"
shift
[ -n "$i" ] && CMAKE_VARIABLES="$CMAKE_VARIABLES -D$i"
done
}
......@@ -158,7 +158,7 @@ addMpiSupport()
return
fi
addCMakeVariable "PARAVIEW_USE_MPI=ON VTK_USE_MPI=ON"
addCMakeVariable "PARAVIEW_USE_MPI=ON" "VTK_USE_MPI=ON"
if [ "${MPI_MAX_PROCS:=0}" -gt 1 ]
then
addCMakeVariable "VTK_MPI_MAX_NUMPROCS=$MPI_MAX_PROCS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment