From fa8f9d423d628efd5a22ce8b5941606dc23ae7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Fri, 6 Dec 2019 12:54:53 +0100 Subject: [PATCH] cmake: assert: Reduce the verbosity of the assert warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The warning about CONFIG_ASSERT being enabled is too loud. This patch reduces it's verbosity and omits the explanation about performance as this is believed to be obvious. Signed-off-by: Sebastian Bøe --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7301b3533a..586003439ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1499,12 +1499,7 @@ add_subdirectory(cmake/reports) if(NOT CONFIG_TEST) if(CONFIG_ASSERT AND (NOT CONFIG_FORCE_NO_ASSERT)) - message(WARNING " - ------------------------------------------------------------ - --- WARNING: __ASSERT() statements are globally ENABLED --- - --- The kernel will run more slowly and use more memory --- - ------------------------------------------------------------" - ) + message(WARNING "__ASSERT() statements are globally ENABLED") endif() endif()