From: maier Date: Mon, 26 May 2014 18:50:05 +0000 (+0000) Subject: CMake: Bugfix: be less restrictive in the mpi interface check X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451e90ed16cb18be763942ef6ac4feaf1d26e37d;p=dealii-svn.git CMake: Bugfix: be less restrictive in the mpi interface check git-svn-id: https://svn.dealii.org/trunk@32979 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)