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 21:11:56 +0100
commit2294814a906848f47a0a3869a721826962504c3a (patch)
tree46f5acbbebab04c3b257038a55226208dda5c074 /eclass
parent5e82e2fae3f72c20372d1278a8f7ae3b1707c6a9 (diff)
downloadkde-2294814a906848f47a0a3869a721826962504c3a.tar.gz
kde-2294814a906848f47a0a3869a721826962504c3a.tar.bz2
kde-2294814a906848f47a0a3869a721826962504c3a.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 b95f0003021..35745def4b4 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 has been removed and is a no-op"
[[ ${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"