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()