Salome HOME
spns #32926: backport KERNEL & CONFIGURATION fixes on more recent platforms to ensure...
[tools/sat_salome.git] / products / patches / paraview-5.11.0.p002-FindMPI.patch
1 --- ParaView-5.11.0_ref/VTK/CMake/patches/3.22/FindMPI.cmake    2022-09-28 16:25:01.988368372 +0200
2 +++ ParaView-5.11.0_new/VTK/CMake/patches/3.22/FindMPI.cmake    2022-09-28 16:22:50.932061970 +0200
3 @@ -1820,6 +1820,9 @@
4    list(APPEND _MPI_REQ_VARS "MPI_MPICXX_FOUND")
5  endif()
6  
7 +if(DEFINED ENV{MPI_C_FOUND})
8 +  set(MPI_C_FOUND $ENV{MPI_C_FOUND})
9 +endif()
10  set(_mpi_extra_args "")
11  if (NOT CMAKE_VERSION VERSION_LESS "3.16") # XXX(cmake-3.16)
12    list(APPEND _mpi_extra_args