* [gentoo-dev] [PATCH] cmake.eclass: Update CMAKE_WARN_UNUSED_CLI default value description
@ 2025-10-03 11:54 Petr Vaněk
0 siblings, 0 replies; only message in thread
From: Petr Vaněk @ 2025-10-03 11:54 UTC (permalink / raw
To: gentoo-dev; +Cc: kde, base-system, Andreas Sturmlechner, Petr Vaněk
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 <arkamar@gentoo.org>
---
eclass/cmake.eclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 2e799f14352e..08ddc8ee7562 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
--
2.49.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-03 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-03 11:54 [gentoo-dev] [PATCH] cmake.eclass: Update CMAKE_WARN_UNUSED_CLI default value description Petr Vaněk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox