Added support for a 2nd mpi library (usually mpi++)

This commit is contained in:
Berk Geveci 2001-12-12 11:51:03 -05:00
parent 4108b22486
commit 0857a830b8
1 changed files with 5 additions and 0 deletions

View File

@ -12,3 +12,8 @@ FIND_LIBRARY(MPI_LIBRARY
NAMES mpi mpich
PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib)
FIND_LIBRARY(MPI_EXTRA_LIBRARY
NAMES mpi++
PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib)
MARK_AS_ADVANCED(MPI_INCLUDE_PATH MPI_LIBRARY MPI_EXTRA_LIBRARY)