Skip to content
Snippets Groups Projects
Commit e8a3b12c authored by Ben Boeckel's avatar Ben Boeckel
Browse files

mpi: include VTK's MPI header wrapper

parent 92e2f43e
Branches dev/0.0.3
No related tags found
No related merge requests found
vtk_module_install_headers(
SUBDIR "vtkdiy2"
DIRECTORIES "include")
set(diy_has_mpi 0)
if (TARGET VTK::mpi)
set(diy_has_mpi 1)
endif ()
vtk_module_definitions(VTK::diy2
INTERFACE
"DIY_HAS_MPI=${diy_has_mpi}")
......@@ -19,7 +19,7 @@
/// only included for the library's compilation units.
#ifdef DIY_HAS_MPI
# if DIY_HAS_MPI
# include <mpi.h>
# include <vtk_mpi.h>
# else
# include "no-mpi.hpp"
# endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment