commit:     75b4a961f2bb480e9e4ef5d495dde979e01175c4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 16:43:25 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 16:45:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b4a961

cmake.eclass: Document MYCMAKEARGS

Closes: https://bugs.gentoo.org/824030
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index f34ebef1b764..c9ff40f42c2e 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -406,6 +406,12 @@ cmake_src_prepare() {
        _CMAKE_SRC_PREPARE_HAS_RUN=1
 }
 
+# @VARIABLE: MYCMAKEARGS
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# User-controlled environment variable containing arguments to be passed to
+# cmake in cmake_src_configure.
+
 # @FUNCTION: cmake_src_configure
 # @DESCRIPTION:
 # General function for configuring with cmake. Default behaviour is to start an

Reply via email to