summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-02 21:11:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-02 23:36:38 +0100
commitedadf8f5674abee2e022d69a356d31a83a3dfcce (patch)
tree0794ac7ea377733806c2cf8fb74e6fce68984636 /eclass
parentsys-cluster/libqb: 1.9.0 (diff)
downloadgentoo-edadf8f5674abee2e022d69a356d31a83a3dfcce.tar.gz
gentoo-edadf8f5674abee2e022d69a356d31a83a3dfcce.tar.bz2
gentoo-edadf8f5674abee2e022d69a356d31a83a3dfcce.zip
cmake.eclass: Ban CMAKE_MIN_VERSION for real
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 4a52cd9ea25f..93ede2588c8c 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -103,6 +103,7 @@ inherit toolchain-funcs ninja-utils flag-o-matic multiprocessing xdg-utils
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
+[[ ${CMAKE_MIN_VERSION} ]] && die "CMAKE_MIN_VERSION is banned; if necessary, set BDEPEND=\">=dev-util/cmake-${CMAKE_MIN_VERSION}\" directly"
[[ ${CMAKE_BUILD_DIR} ]] && die "The ebuild must be migrated to BUILD_DIR"
[[ ${CMAKE_REMOVE_MODULES} ]] && die "CMAKE_REMOVE_MODULES is banned, set CMAKE_REMOVE_MODULES_LIST=\"\" instead"
[[ ${CMAKE_UTILS_QA_SRC_DIR_READONLY} ]] && die "Use CMAKE_QA_SRC_DIR_READONLY instead"