diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-03 00:58:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-03 00:58:14 (GMT) |
commit | cf8625cf52322281e17dc629abce07c853339d0b (patch) | |
tree | 5091a150a619a75184a6cb0b9b32b745e65cd6b7 /Modules/FindMPI.cmake | |
parent | 86d2d989cea8d5a06c92cb39c4bf29afd4a44f31 (diff) | |
download | CMake-cf8625cf52322281e17dc629abce07c853339d0b.zip CMake-cf8625cf52322281e17dc629abce07c853339d0b.tar.gz CMake-cf8625cf52322281e17dc629abce07c853339d0b.tar.bz2 |
ENH: add support for finding mpich2 on windows
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" ) |