games-emulation/mgba: backport fix for cmake4 with USE=discord

This has many unused CMakeLists.txt in third-party/ which led
to the addition of the QA skip variable, but this one is in fact
used with USE=discord.

Closes: https://bugs.gentoo.org/961227
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-08-08 19:03:46 -04:00
parent 115470d2a9
commit ff531c94ba

View File

@@ -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)