From: Wolfgang Bangerth Date: Fri, 26 Jan 2024 16:59:50 +0000 (-0700) Subject: Simplify generation of a cmake message. X-Git-Tag: relicensing~106^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16548%2Fhead;p=dealii.git Simplify generation of a cmake message. --- diff --git a/cmake/configure/configure_20_trilinos.cmake b/cmake/configure/configure_20_trilinos.cmake index 97fd5d9edd..4cd100d01a 100644 --- a/cmake/configure/configure_20_trilinos.cmake +++ b/cmake/configure/configure_20_trilinos.cmake @@ -283,18 +283,9 @@ macro(feature_trilinos_find_external var) if(NOT DEAL_II_HAVE_TPETRA_INT_LONG_LONG AND DEAL_II_WITH_64BIT_INDICES) message( STATUS - " Tpetra wasn't configured with support for 64-bit global indices" - ) - message( - STATUS - " but deal.II is configured to use 64-bit global indices. " - ) - message( - STATUS - " Either reconfigure deal.II with -DDEAL_II_WITH_64_BIT_INDICES=OFF." - ) - message( - STATUS + " Tpetra wasn't configured with support for 64-bit global indices\n" + " but deal.II is configured to use 64-bit global indices.\n" + " Either reconfigure deal.II with -DDEAL_II_WITH_64_BIT_INDICES=OFF.\n" " or rebuild Trilinos with -DTPETRA_INST_INT_LONG_LONG=ON" ) if(DEAL_II_HAVE_TPETRA_INT_LONG) @@ -311,18 +302,9 @@ macro(feature_trilinos_find_external var) elseif(NOT DEAL_II_HAVE_TPETRA_INT_INT AND NOT DEAL_II_WITH_64BIT_INDICES) message( STATUS - " Tpetra wasn't configured with support for 32-bit global indices" - ) - message( - STATUS - " but deal.II is configured to use 32-bit global indices. " - ) - message( - STATUS - " Either reconfigure deal.II with -DDEAL_II_WITH_64_BIT_INDICES=ON." - ) - message( - STATUS + " Tpetra wasn't configured with support for 32-bit global indices\n" + " but deal.II is configured to use 32-bit global indices.\n" + " Either reconfigure deal.II with -DDEAL_II_WITH_64_BIT_INDICES=ON.\n" " or rebuild Trilinos with -DTPETRA_INST_INT_INT=ON" ) if(DEAL_II_HAVE_TPETRA_INT_LONG)