summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-04-18 19:58:11 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-04-18 19:58:11 (GMT)
commit555a7f88aad91cf57599e0520b53a54f288e4afd (patch)
treea97c0dccf1bf7451b50ff918aa15f63dee4bd74e /Modules/FindMPI.cmake
parent06922e1ac66677ddde41c6dc5ab82e0c09675d8e (diff)
downloadCMake-555a7f88aad91cf57599e0520b53a54f288e4afd.zip
CMake-555a7f88aad91cf57599e0520b53a54f288e4afd.tar.gz
CMake-555a7f88aad91cf57599e0520b53a54f288e4afd.tar.bz2
Add mpi search paths for Debian
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r--Modules/FindMPI.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index 12d674e..ba27e7c 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -6,7 +6,11 @@
# MPI_LIBRARY = the library to link against (mpi mpich etc)
#
-FIND_PATH(MPI_INCLUDE_PATH mpi.h /usr/local/include /usr/include /usr/local/mpi/include)
+FIND_PATH(MPI_INCLUDE_PATH mpi.h
+ /usr/local/include
+ /usr/include
+ /usr/include/mpi
+ /usr/local/mpi/include)
FIND_LIBRARY(MPI_LIBRARY
NAMES mpi mpich