From: Wolfgang Bangerth Date: Thu, 8 Apr 2021 17:41:21 +0000 (-0600) Subject: Make cmake error messages easier to read. X-Git-Tag: v9.3.0-rc1~233^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed052c6fc0b170b7a0da4147bab5daf0de1e9b1;p=dealii.git Make cmake error messages easier to read. --- diff --git a/cmake/configure/configure_2_trilinos.cmake b/cmake/configure/configure_2_trilinos.cmake index da61cf9104..af8ad18cf2 100644 --- a/cmake/configure/configure_2_trilinos.cmake +++ b/cmake/configure/configure_2_trilinos.cmake @@ -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()