diff options
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 03f3631..cf39cf6 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -10,13 +10,15 @@ FIND_PATH(MPI_INCLUDE_PATH mpi.h /usr/include/mpi /usr/local/mpi/include "$ENV{ProgramFiles}/MPICH/SDK/Include" + "$ENV{ProgramFiles}/MPICH2/include" "C:/Program Files/MPICH/SDK/Include" ) FIND_LIBRARY(MPI_LIBRARY - NAMES mpi mpich + NAMES mpich2 mpi mpich PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib "$ENV{ProgramFiles}/MPICH/SDK/Lib" + "$ENV{ProgramFiles}/MPICH2/Lib" "C:/Program Files/MPICH/SDK/Lib" ) |