From 5401ce33a07308e687f46dd163fc049f14286d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Fri, 3 Oct 2025 13:54:00 +0200 Subject: cmake.eclass: Update CMAKE_WARN_UNUSED_CLI default value description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit updates the CMAKE_WARN_UNUSED_CLI variable description to accurately reflect the default value set to "yes". The CMAKE_WARN_UNUSED_CLI default value was changed to "yes" in cmake-utils.eclass in commit 3600c714eb86 ("cmake-utils.eclass: enable CMAKE_WARN_UNUSED_CLI for EAPI 6"), but the description did not reflect it. This description was later reused in the new cmake.eclass [1] without reflecting the default value either. Fixes: 9053737a4e16 ("cmake.eclass: New eclass, EAPI-7 only cleanup of cmake-utils") [1] Signed-off-by: Petr Vaněk Signed-off-by: Andreas Sturmlechner --- eclass/cmake.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 9339d2401d6..6d387b233b4 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -106,7 +106,8 @@ fi # @DESCRIPTION: # Warn about variables that are declared on the command line # but not used. Might give false-positives. -# "no" to disable (default) or anything else to enable. +# "no" to disable or anything else to enable. +# The default is set to "yes" (enabled). : "${CMAKE_WARN_UNUSED_CLI:=yes}" # @ECLASS_VARIABLE: CMAKE_EXTRA_CACHE_FILE -- cgit v1.2.3