mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-gfx/renderdoc: Update CMake-4 fix
Fix CMake 3.31 warnings about unsupported <CMake-3.10 already Closes: https://bugs.gentoo.org/964518 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
2c66a0eef4
commit
71596df2b5
@ -3,8 +3,8 @@ From: Jake Turner <jake@evansturner.co.uk>
|
||||
Date: Wed, 2 Apr 2025 10:13:57 +0100
|
||||
Subject: [PATCH] cmakefile support for building with cmake 4.0
|
||||
|
||||
* asturmlechner 2025-04-22: merged with upstream commit
|
||||
368db48054a637c6d508aa22480f49b843270c50 to de-escalate min version
|
||||
* asturmlechner 2025-11-29: considering upstream commit 368db480,
|
||||
de-escalate min version but no reason to go below "APPLE" minimum
|
||||
---
|
||||
CMakeLists.txt | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
@ -16,7 +16,7 @@ index 0f30177774..e197fa5f2a 100644
|
||||
@@ -1,4 +1,8 @@
|
||||
-cmake_minimum_required(VERSION 2.8.12)
|
||||
+if (NOT CMAKE_VERSION VERSION_LESS "4.0")
|
||||
+ cmake_minimum_required(VERSION 3.5)
|
||||
+ cmake_minimum_required(VERSION 3.23.0)
|
||||
+else()
|
||||
+ cmake_minimum_required(VERSION 2.8.12)
|
||||
+endif()
|
||||
|
||||
@ -68,7 +68,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.31-lld.patch
|
||||
|
||||
"${FILESDIR}"/${PN}-1.36-gcc15-fix.patch
|
||||
"${FILESDIR}"/${PN}-1.36-cmake4.patch
|
||||
"${FILESDIR}"/${PN}-1.36-cmake4.patch # bug 964518
|
||||
)
|
||||
|
||||
DOCS=( util/LINUX_DIST_README )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user