From 3d80fb587297e7ff29687e5c5b3c8b30a58d2957 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 4 Jun 2020 09:45:23 +0200 Subject: [PATCH] CMake build: Add feature info for building tests Was wondering if my current build included tests or not... Change-Id: I17030455ffd89d6b482e8cc08da3cb3b2dcbbe35 Reviewed-by: Cristian Adam --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee0e0051d38..f76ce0a1519 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) option(WITH_TESTS "Build Tests" OFF) +add_feature_info("Build tests" ${WITH_TESTS} "") option(WITH_DEBUG_CMAKE "Enabled CMake project debugging functionality (e.g. source file disk checking)" OFF) option(BUILD_WITH_PCH "Build with precompiled headers" ON)