From 808a82d5dd7addfef9728a2ccc2f7ea713dfa748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Tue, 20 Jan 2026 01:38:18 +0100 Subject: CMake: Bump minimum requirement to 3.25 --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a01fad918..d4f0720ffe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3