]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixed direct reference of _feature to petsc in CHECK_MPI_INTERFACE 4416/head
authorSantiago Ospina <SoilRos@users.noreply.github.com>
Thu, 25 May 2017 21:24:25 +0000 (23:24 +0200)
committerGitHub <noreply@github.com>
Thu, 25 May 2017 21:24:25 +0000 (23:24 +0200)
cmake/macros/macro_check_mpi_interface.cmake

index 2d80db3a86cf6c24097f94263f03ce90f2e25395..ea041ddc79ec5b7869c9d9c73205443ea6319809 100644 (file)
@@ -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"

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.