From d32789cb1472d77b8d952cf709849c2cc851ef4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Tue, 19 Dec 2017 23:21:23 +0100 Subject: [PATCH] [cmake] Add description and purpose to feature summary --- cmake/modules/FindARPACK.cmake | 5 +++++ cmake/modules/FindARPACKPP.cmake | 5 +++++ cmake/modules/FindSuperLU.cmake | 7 +++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindARPACK.cmake b/cmake/modules/FindARPACK.cmake index 7215b0a3..9dbfd103 100644 --- a/cmake/modules/FindARPACK.cmake +++ b/cmake/modules/FindARPACK.cmake @@ -88,3 +88,8 @@ else() "Determing location of ARPACK failed:\n" "Libraries to link against: ${ARPACK_LIBRARIES}\n\n") endif() + +# text for feature summary +set_package_properties("ARPACK" PROPERTIES + DESCRIPTION "ARnoldi PACKage" + PURPOSE "Solve large scale eigenvalue problems") diff --git a/cmake/modules/FindARPACKPP.cmake b/cmake/modules/FindARPACKPP.cmake index 2a1e5e00..495ad81e 100644 --- a/cmake/modules/FindARPACKPP.cmake +++ b/cmake/modules/FindARPACKPP.cmake @@ -121,3 +121,8 @@ if(ARPACKPP_FOUND) LIBRARIES "${ARPACKPP_LIBRARIES}" INCLUDE_DIRS "${ARPACKPP_INCLUDE_DIRS}") endif() + +# text for feature summary +set_package_properties("ARPACKPP" PROPERTIES + DESCRIPTION "ARPACK++" + PURPOSE "C++ interface for ARPACK") diff --git a/cmake/modules/FindSuperLU.cmake b/cmake/modules/FindSuperLU.cmake index 8eb6bd3f..6d62fc75 100644 --- a/cmake/modules/FindSuperLU.cmake +++ b/cmake/modules/FindSuperLU.cmake @@ -168,8 +168,6 @@ find_package_handle_standard_args( mark_as_advanced(SUPERLU_INCLUDE_DIR SUPERLU_LIBRARY) -set_package_info("SuperLU" "Direct linear solver library") - # if both headers and library are found, store results if(SUPERLU_FOUND) set(SUPERLU_INCLUDE_DIRS ${SUPERLU_INCLUDE_DIR}) @@ -201,3 +199,8 @@ if(SUPERLU_FOUND) LIBRARIES "${SUPERLU_DUNE_LIBRARIES}" INCLUDE_DIRS "${SUPERLU_INCLUDE_DIRS}") endif() + +# text for feature summary +set_package_properties("SuperLU" PROPERTIES + DESCRIPTION "Supernodal LU" + PURPOSE "Direct solver for linear system, based on LU decompisition") -- GitLab