diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-15 23:31:00 +0100 |
---|---|---|
committer | Urs Fleisch <ufleisch@users.sourceforge.net> | 2021-03-06 14:52:25 +0100 |
commit | 1e636957ab1415ea3962f69e2825a033382d8c0d (patch) | |
tree | f8e6d40aeadf343972bfad0f759280f14d3acc87 /CMakeLists.txt | |
parent | 507a42871c7b1226bd23c3b26260afe5b3861fed (diff) |
Use FeatureSummary for a nice CMake summary output
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |