From 7e24c14f8cf5debccb6e13f59518c9cdb0abfa1d Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 13 Nov 2017 22:21:54 +0800 Subject: [PATCH] cmake: print feature summary --- CMakeLists.txt | 3 +++ cmake/ConfigureChecks.cmake | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef8dce960..619083529 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,3 +114,6 @@ INCLUDE(cmake/Tests.cmake) # Set up install. INCLUDE(cmake/Install.cmake) + +INCLUDE(FeatureSummary) +FEATURE_SUMMARY(WHAT ALL) diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 1c6575e8e..8cf208951 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -1,5 +1,5 @@ # Detect curses. -INCLUDE(FindCurses) +FIND_PACKAGE(Curses REQUIRED) # Get threads. set(THREADS_PREFER_PTHREAD_FLAG ON)