]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make cmake error messages easier to read. 12028/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Apr 2021 17:41:21 +0000 (11:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Apr 2021 17:52:07 +0000 (11:52 -0600)
cmake/configure/configure_2_trilinos.cmake

index da61cf9104c2a86ff00e9172c7e6400cd213d9ef..af8ad18cf2c53e92b914fc520b558c8bbda1185a 100644 (file)
@@ -38,7 +38,7 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
     # Check whether all required modules of trilinos are installed:
     #
     MESSAGE(STATUS
-      "Check whether the found trilinos package contains all required modules:"
+      "Checking whether the found trilinos package contains all required modules:"
       )
 
     FOREACH(_module
@@ -46,9 +46,9 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       )
       ITEM_MATCHES(_module_found ${_module} ${Trilinos_PACKAGE_LIST})
       IF(_module_found)
-        MESSAGE(STATUS "Found ${_module}")
+        MESSAGE(STATUS "  Found ${_module}")
       ELSE()
-        MESSAGE(STATUS "Module ${_module} not found!")
+        MESSAGE(STATUS "  Module ${_module} not found!")
         SET(_modules_missing "${_modules_missing} ${_module}")
         SET(${var} FALSE)
       ENDIF()
@@ -174,11 +174,11 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       FOREACH(_optional_module EpetraExt Kokkos MueLu ROL Sacado SEACAS Tpetra Zoltan)
         ITEM_MATCHES(_module_found ${_optional_module} ${Trilinos_PACKAGE_LIST})
         IF(_module_found)
-          MESSAGE(STATUS "Found ${_optional_module}")
+          MESSAGE(STATUS "  Found ${_optional_module}")
           STRING(TOUPPER "${_optional_module}" _optional_module_upper)
           SET(DEAL_II_TRILINOS_WITH_${_optional_module_upper} ON)
         ELSE()
-          MESSAGE(STATUS "Module ${_optional_module} not found!")
+          MESSAGE(STATUS "  Module ${_optional_module} not found!")
         ENDIF()
       ENDFOREACH()
 
@@ -188,11 +188,11 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
       FOREACH(_optional_tpl MUMPS)
         ITEM_MATCHES(_tpl_found ${_optional_tpl} ${Trilinos_TPL_LIST})
         IF(_tpl_found)
-          MESSAGE(STATUS "Found ${_optional_tpl}")
+          MESSAGE(STATUS "  Found ${_optional_tpl}")
           STRING(TOUPPER "${_optional_tpl}" _optional_tpl_upper)
           SET(DEAL_II_TRILINOS_WITH_${_optional_tpl_upper} ON)
         ELSE()
-          MESSAGE(STATUS "Module ${_optional_tpl} not found!")
+          MESSAGE(STATUS "  Module ${_optional_tpl} not found!")
         ENDIF()
       ENDFOREACH()
     ENDIF()

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.