|
@@ -413,7 +413,7 @@ function (interrogate_mpi_compiler lang try_libs)
|
|
|
HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH}
|
|
HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH}
|
|
|
PATH_SUFFIXES lib)
|
|
PATH_SUFFIXES lib)
|
|
|
if (MPI_LIBRARIES_WORK AND MPI_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()
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|