summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-08-07 13:19:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-08-07 13:19:39 (GMT)
commit4a1412b0cb0af4d0e6c58f4555f69f9693af0581 (patch)
tree79502c90a7fd998c9313d0a15d3537c0fa59c6e8 /Modules/FindMPI.cmake
parentd0b33916423488132e9c7b0eba67bae6503b30b3 (diff)
downloadCMake-4a1412b0cb0af4d0e6c58f4555f69f9693af0581.zip
CMake-4a1412b0cb0af4d0e6c58f4555f69f9693af0581.tar.gz
CMake-4a1412b0cb0af4d0e6c58f4555f69f9693af0581.tar.bz2
BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &amp, but after double quote was replaced with &quot causing it to be &amp;quot. Also add more search paths for mpi
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r--Modules/FindMPI.cmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index ba27e7c..1f2013a 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -10,15 +10,20 @@ FIND_PATH(MPI_INCLUDE_PATH mpi.h
/usr/local/include
/usr/include
/usr/include/mpi
- /usr/local/mpi/include)
+ /usr/local/mpi/include
+ "C:/Program Files/MPICH/SDK/Include"
+)
FIND_LIBRARY(MPI_LIBRARY
NAMES mpi mpich
- PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib)
+ PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib
+ "C:/Program Files/MPICH/SDK/Lib"
+)
FIND_LIBRARY(MPI_EXTRA_LIBRARY
NAMES mpi++
PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib
+ "C:/Program Files/MPICH/SDK/Lib"
DOC "If a second mpi library is necessary, specify it here.")
MARK_AS_ADVANCED(MPI_INCLUDE_PATH MPI_LIBRARY MPI_EXTRA_LIBRARY)