diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-02 21:11:56 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-02 23:36:38 +0100 |
commit | edadf8f5674abee2e022d69a356d31a83a3dfcce (patch) | |
tree | 0794ac7ea377733806c2cf8fb74e6fce68984636 /eclass | |
parent | sys-cluster/libqb: 1.9.0 (diff) | |
download | gentoo-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.eclass | 1 |
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" |