Skip to content
Snippets Groups Projects
Commit f727b8e7 authored by Chuck Atkins's avatar Chuck Atkins
Browse files

vtkmpi: Expand no-cpp defines to cover SGI MPT

parent f6a372b9
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ vtk_module_definitions(VTK::mpi
INTERFACE
MPICH_SKIP_MPICXX
OMPI_SKIP_MPICXX
MPI_NO_CPPBIND
_MPICC_H)
if (APPLE AND TARGET MPI::MPI_C)
......
......@@ -16,6 +16,12 @@
#define _vtk_mpi_ibm
#endif
// Skip SGI MPT's C++ support.
#ifndef MPI_NO_CPPBIND
#define MPI_NO_CPPBIND
#define _vtk_mpi_sgi
#endif
// Include the MPI header.
#include <mpi.h>
......@@ -34,3 +40,8 @@
#undef _MPICC_H
#undef _vtk_mpi_ibm
#endif
#ifdef _vtk_mpi_sgi
#undef MPI_NO_CPPBIND
#undef _vtk_mpi_sgi
#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