From: Denis Davydov Date: Tue, 23 Jan 2018 07:33:19 +0000 (+0100) Subject: fix CHECK_MPI_INTERFACE for CMake 3.10 X-Git-Tag: v9.0.0-rc1~534^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b79ae1243478306bb3a0173954cff5044ff6e9e;p=dealii.git fix CHECK_MPI_INTERFACE for CMake 3.10 --- diff --git a/cmake/macros/macro_check_mpi_interface.cmake b/cmake/macros/macro_check_mpi_interface.cmake index 479cc55bd8..4a3aa0bc5e 100644 --- a/cmake/macros/macro_check_mpi_interface.cmake +++ b/cmake/macros/macro_check_mpi_interface.cmake @@ -22,7 +22,7 @@ # MACRO(CHECK_MPI_INTERFACE _feature _var) - IF(DEAL_II_WITH_MPI) + IF(DEAL_II_WITH_MPI AND MPI_LIBRARIES) SET(_nope FALSE)