CMake: Bump minimum requirement to 3.25

This commit is contained in:
Joshua Vandaële
2026-07-24 03:45:13 +02:00
parent 6da4bc38e1
commit 808a82d5dd
2 changed files with 2 additions and 10 deletions
+1 -9
View File
@@ -1,14 +1,10 @@
########################################
# General setup
#
cmake_minimum_required(VERSION 3.20...4.2.1)
cmake_minimum_required(VERSION 3.25...4.2.1)
cmake_policy(SET CMP0080 OLD) # allow using BundleUtilities at configure time
if (POLICY CMP0141)
cmake_policy(SET CMP0141 NEW) # MSVC debug information format flags are selected by an abstraction.
endif()
# Minimum OS X version.
# This is inserted into the Info.plist as well.
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0.0" CACHE STRING "")
@@ -23,10 +19,6 @@ set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
project(dolphin-emu)
if (CMAKE_VERSION VERSION_LESS "3.25" AND CMAKE_SYSTEM_NAME MATCHES "Linux")
set(LINUX TRUE)
endif()
if (MSVC)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 23)
+1 -1
View File
@@ -91,7 +91,7 @@ android {
externalNativeBuild {
cmake {
path = file("../../../CMakeLists.txt")
version = "3.22.1+"
version = "3.25.0+"
}
}
namespace = "org.dolphinemu.dolphinemu"