summaryrefslogtreecommitdiffstats
path: root/Modules/FindMPI.cmake
diff options
context:
space:
mode:
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