mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
dev-libs/frozen: bump minimum required CMake version
Closes: https://bugs.gentoo.org/974744 Closes: https://bugs.gentoo.org/974746 Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
From: Pavel Sobolev <contact@paveloom.dev>
|
||||
Subject: [PATCH] Bump minimum required CMake version.
|
||||
|
||||
Upstream-Commit: https://github.com/serge-sans-paille/frozen/commit/5c3f679d52ff4badd8bc2a96907d954e8bbcd021
|
||||
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.8)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
#
|
||||
# Here we check whether frozen is being configured in isolation or as a component
|
||||
# of a larger proeject. To do so, we query whether the `PROJECT_NAME` CMake
|
||||
|
||||
@@ -15,6 +15,10 @@ KEYWORDS="~amd64 ~arm64 ~ppc64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.2.0-bump-minimum-required-CMake-version.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
|
||||
Reference in New Issue
Block a user