From 1e636957ab1415ea3962f69e2825a033382d8c0d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 15 Feb 2021 23:31:00 +0100 Subject: [PATCH] Use FeatureSummary for a nice CMake summary output Signed-off-by: Andreas Sturmlechner --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb047350..0370bd05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ project(taglib) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") include(CTest) +include(FeatureSummary) include(GNUInstallDirs) if(DEFINED ENABLE_STATIC) @@ -173,3 +174,5 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_C if(NOT TARGET uninstall) add_custom_target(uninstall COMMAND "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") endif() + +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)