Salome HOME
PERSALYS : implement patch à la EDF - Test
[tools/sat_salome.git] / products / patches / paraview.0020.findMPI.patch
1 diff -Naur ParaView_ref/VTK/CMake/patches/3.17/FindMPI.cmake ParaView_new/VTK/CMake/patches/3.17/FindMPI.cmake
2 --- ParaView_ref/VTK/CMake/patches/3.17/FindMPI.cmake   2022-02-02 10:45:40.273534527 +0100
3 +++ ParaView_new/VTK/CMake/patches/3.17/FindMPI.cmake   2022-02-02 12:20:19.005537074 +0100
4 @@ -1727,6 +1727,10 @@
5    list(APPEND _MPI_REQ_VARS "MPI_MPICXX_FOUND")
6  endif()
7  
8 +if(DEFINED ENV{MPI_C_FOUND})
9 +  set(MPI_C_FOUND $ENV{MPI_C_FOUND})
10 +endif()  
11 +
12  find_package_handle_standard_args(MPI
13      REQUIRED_VARS ${_MPI_REQ_VARS}
14      VERSION_VAR ${_MPI_MIN_VERSION}