mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
ecm-common.eclass: Raise CMake minimum to 3.31
cmake.eclass remains at 3.28 in ::gentoo for a while, so having to define the BDEPEND as well here. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
5c41ba9259
commit
8d6be776fa
@ -1,4 +1,4 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: ecm-common.eclass
|
||||
@ -133,7 +133,10 @@ fi
|
||||
|
||||
DESCRIPTION="Common files for ${PN/-common/}"
|
||||
|
||||
BDEPEND=">=kde-frameworks/extra-cmake-modules-${KFMIN}:*"
|
||||
BDEPEND="
|
||||
>=dev-build/cmake-3.31.9-r1
|
||||
>=kde-frameworks/extra-cmake-modules-${KFMIN}:*
|
||||
"
|
||||
|
||||
case ${ECM_I18N} in
|
||||
true)
|
||||
@ -185,7 +188,7 @@ fi
|
||||
# Create a CMakeLists.txt file with minimum ECM setup.
|
||||
_ecm-common_preamble() {
|
||||
cat > CMakeLists.txt <<- _EOF_ || die
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
cmake_minimum_required(VERSION 3.31)
|
||||
project(${PN} VERSION ${PV})
|
||||
|
||||
find_package(ECM "${KFMIN}" REQUIRED NO_MODULE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user