From: Santiago Ospina Date: Thu, 25 May 2017 21:24:25 +0000 (+0200) Subject: fixed direct reference of _feature to petsc in CHECK_MPI_INTERFACE X-Git-Tag: v9.0.0-rc1~1575^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907217d7c6a8818e1985719d8c7aae6e865c11d3;p=dealii.git fixed direct reference of _feature to petsc in CHECK_MPI_INTERFACE --- diff --git a/cmake/macros/macro_check_mpi_interface.cmake b/cmake/macros/macro_check_mpi_interface.cmake index 2d80db3a86..ea041ddc79 100644 --- a/cmake/macros/macro_check_mpi_interface.cmake +++ b/cmake/macros/macro_check_mpi_interface.cmake @@ -54,8 +54,8 @@ MACRO(CHECK_MPI_INTERFACE _feature _var) "deal.II picked up." ) TO_STRING(_str ${MPI_LIBRARIES}) - SET(PETSC_ADDITIONAL_ERROR_STRING - ${PETSC_ADDITIONAL_ERROR_STRING} + SET(${_feature}_ADDITIONAL_ERROR_STRING + ${${_feature}_ADDITIONAL_ERROR_STRING} "Could not find a sufficient ${_feature} installation:\n" "${_feature} has to be compiled against the same MPI library as deal.II " "but the link line of ${_feature} contains:\n"