]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify generation of a cmake message. 16548/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Jan 2024 16:59:50 +0000 (09:59 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 26 Jan 2024 16:59:50 +0000 (09:59 -0700)
cmake/configure/configure_20_trilinos.cmake

index 97fd5d9eddd924fdf8d599a99b52b1b21ef42e8b..4cd100d01a6c6dd53c1bd42128d9abe7d163736f 100644 (file)
@@ -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)

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.