diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-28 15:27:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-28 15:27:30 (GMT) |
commit | 7603244509ad40a5109476f20542bd43354ceba7 (patch) | |
tree | e8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/FindMPI.cmake | |
parent | 7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff) | |
download | CMake-7603244509ad40a5109476f20542bd43354ceba7.zip CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.bz2 |
ENH: use program files env for searching
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 6851116..03f3631 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -9,18 +9,21 @@ FIND_PATH(MPI_INCLUDE_PATH mpi.h /usr/include /usr/include/mpi /usr/local/mpi/include + "$ENV{ProgramFiles}/MPICH/SDK/Include" "C:/Program Files/MPICH/SDK/Include" ) FIND_LIBRARY(MPI_LIBRARY NAMES mpi mpich PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib + "$ENV{ProgramFiles}/MPICH/SDK/Lib" "C:/Program Files/MPICH/SDK/Lib" ) FIND_LIBRARY(MPI_EXTRA_LIBRARY NAMES mpi++ - PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib + PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib + "$ENV{ProgramFiles}/MPICH/SDK/Lib" "C:/Program Files/MPICH/SDK/Lib" DOC "If a second mpi library is necessary, specify it here.") |