From 0fc9b7bacd832ee59c9969f76d03468ef76a805b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 26 May 2014 18:50:05 +0000 Subject: [PATCH] CMake: Bugfix: be less restrictive in the mpi interface check git-svn-id: https://svn.dealii.org/trunk@32979 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_check_mpi_interface.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/cmake/macros/macro_check_mpi_interface.cmake b/deal.II/cmake/macros/macro_check_mpi_interface.cmake index 0011282f69..c26edc40f7 100644 --- a/deal.II/cmake/macros/macro_check_mpi_interface.cmake +++ b/deal.II/cmake/macros/macro_check_mpi_interface.cmake @@ -27,7 +27,8 @@ MACRO(CHECK_MPI_INTERFACE _feature _var) SET(_nope FALSE) FOREACH(_library ${${_feature}_LIBRARIES}) - IF(_library MATCHES "/libmpi[^/]*\\.so") + IF( _library MATCHES "/libmpi[^/]*\\.so" + AND NOT _library MATCHES "f(77|90|ort)" ) LIST(FIND MPI_LIBRARIES "${_library}" _position) IF("${_position}" STREQUAL "-1") SET(_nope TRUE) -- 2.39.5