]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: be less restrictive in the mpi interface check
authorMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 26 May 2014 18:50:05 +0000 (18:50 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Mon, 26 May 2014 18:50:05 +0000 (18:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@32979 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_check_mpi_interface.cmake

index 0011282f694fd2a6456fabc670c802fb86047ae9..c26edc40f7b7bec429dba10e417f45ef3cafaf54 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.