diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-03-25 21:57:30 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-03-25 21:57:30 (GMT) |
commit | 9db0c02b969907ed1d647b05329ef73f8207c4fb (patch) | |
tree | d17605ffdc884bbeb10434e1471333158f284fc5 /config | |
parent | 425408b5a13bdb4bab369846cd9f9108b058cb82 (diff) | |
download | hdf5-9db0c02b969907ed1d647b05329ef73f8207c4fb.zip hdf5-9db0c02b969907ed1d647b05329ef73f8207c4fb.tar.gz hdf5-9db0c02b969907ed1d647b05329ef73f8207c4fb.tar.bz2 |
[svn-r24899] Add msmpi fortran libs to FindMPI
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/FindMPI.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/cmake/FindMPI.cmake b/config/cmake/FindMPI.cmake index 6d12276..1b67a30 100644 --- a/config/cmake/FindMPI.cmake +++ b/config/cmake/FindMPI.cmake @@ -427,18 +427,18 @@ function (interrogate_mpi_compiler lang try_libs) HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} PATH_SUFFIXES lib) if (MPI_LIBRARIES_WORK AND MPI_LIB) - set(MPI_LIBRARIES_WORK ${MPI_LIBRARIES_WORK} ${MPI_LIB}) + list(APPEND MPI_LIBRARIES_WORK ${MPI_LIB}) endif() endif() if (${lang} STREQUAL Fortran) set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) find_library(MPI_LIB - NAMES fmpi fmpich fmpich2 fmpich2g + NAMES fmpi fmpich fmpich2 fmpich2g msmpifec msmpifmc HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH} - PATH_SUFFIXES lib) + PATH_SUFFIXES lib lib/${MS_MPI_ARCH_DIR} Lib Lib/${MS_MPI_ARCH_DIR}) if (MPI_LIBRARIES_WORK AND MPI_LIB) - set(MPI_LIBRARIES_WORK ${MPI_LIBRARIES_WORK} ${MPI_LIB}) + list(APPEND MPI_LIBRARIES_WORK ${MPI_LIB}) endif() endif() |