diff options
| author | Petr Vaněk <arkamar@gentoo.org> | 2025-10-03 13:54:00 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-10-05 23:49:43 +0200 |
| commit | 181e38741a32cebc27dcc81bcf359a4c6dedc90f (patch) | |
| tree | 8b7a2a07deeaf45359a94e667003ed41ecbce29f /eclass | |
| parent | 385f0c526a66fa7c3d0a23ea62cf260b188402ba (diff) | |
| download | gentoo-181e38741a32cebc27dcc81bcf359a4c6dedc90f.tar.gz gentoo-181e38741a32cebc27dcc81bcf359a4c6dedc90f.tar.bz2 gentoo-181e38741a32cebc27dcc81bcf359a4c6dedc90f.zip | |
cmake.eclass: Update CMAKE_WARN_UNUSED_CLI default value description
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>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/cmake.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 37b181df927b..5b3d135018e8 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 |
