diff --git a/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch b/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch index bcb865eae2456..d9550b0d53d83 100644 --- a/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch +++ b/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch @@ -1,9 +1,12 @@ -Bug: https://bugs.gentoo.org/958356 +https://bugs.gentoo.org/958356 +https://bugs.gentoo.org/961227 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ +@@ -1 +1 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/src/platform/cmake/") - - if(POLICY CMP0025) +--- a/src/third-party/discord-rpc/CMakeLists.txt ++++ b/src/third-party/discord-rpc/CMakeLists.txt +@@ -1 +1 @@ +-cmake_minimum_required (VERSION 3.1.0) ++cmake_minimum_required (VERSION 3.10)