commit: 5c41ba92597c7c41e5b7015ab920b02fc43fb79a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 20:21:49 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 19:14:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c41ba92
ecm.eclass: Set CMAKE_ECM_MODE=true pre-inheriting cmake
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/ecm.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 31315f2b8d75..f7a77c35d5f2 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -29,6 +29,11 @@ esac
if [[ -z ${_ECM_ECLASS} ]]; then
_ECM_ECLASS=1
+# @ECLASS_VARIABLE: CMAKE_ECM_MODE
+# @DESCRIPTION:
+# For proper description see cmake.eclass manpage.
+CMAKE_ECM_MODE=true
+
inherit cmake flag-o-matic
if [[ ${EAPI} == 8 ]]; then