mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-games/recastnavigation: fix build with cmake 4
Closes: https://bugs.gentoo.org/955845 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/42078 Closes: https://github.com/gentoo/gentoo/pull/42078 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
e7e0189b79
commit
35b04648a3
@@ -0,0 +1,11 @@
|
||||
https://github.com/recastnavigation/recastnavigation/pull/775
|
||||
https://bugs.gentoo.org/955845
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.1)
|
||||
+cmake_minimum_required(VERSION 3.1...4.0)
|
||||
|
||||
project(RecastNavigation)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -18,6 +18,10 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-cpp/catch:0 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-cmake4.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
rm -r Tests/Contrib/catch2 || die
|
||||
|
||||
Reference in New Issue
Block a user