Commit 862d84b7 authored by Ben Boeckel's avatar Ben Boeckel

Merge branch 'upstream-visit' into link-mpi-if-enabled

* upstream-visit:
  visit 2019-03-07 (f197ac65)
parents 3495678a 131cad2a
......@@ -92,10 +92,13 @@ FUNCTION(ADD_PARALLEL_LIBRARY target)
ENDFUNCTION(ADD_PARALLEL_LIBRARY)
#set up MPI
set(VISIT_PARALLEL ${PARAVIEW_USE_MPI})
if(PARAVIEW_USE_MPI)
if (TARGET VTK::mpi)
set(VISIT_PARALLEL 1)
set(VISIT_PARALLEL_LIBS VTK::mpi)
endif(PARAVIEW_USE_MPI)
else ()
set(VISIT_PARALLEL 0)
set(VISIT_PARALLEL_LIBS VTK::mpi)
endif ()
# setup to use vtkzlib
set(ZLIB_LIB VTK::zlib)
......
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