summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-03 00:58:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-03 00:58:14 (GMT)
commitcf8625cf52322281e17dc629abce07c853339d0b (patch)
tree5091a150a619a75184a6cb0b9b32b745e65cd6b7 /Modules/FindMPI.cmake
parent86d2d989cea8d5a06c92cb39c4bf29afd4a44f31 (diff)
downloadCMake-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.cmake4
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"
)