Commit 0f9fe6b8 authored by Mark Olesen's avatar Mark Olesen
Browse files

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

parent 7f4a904b
......@@ -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"
......
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