File: cmake-4.patch

package info (click to toggle)
pcsx2 1.6.0%2Bdfsg-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,516 kB
  • sloc: cpp: 299,800; ansic: 23,973; lisp: 2,689; asm: 908; perl: 852; sh: 789; xml: 116; makefile: 60
file content (16 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with CMake 4
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1113393
Origin: backport, https://github.com/PCSX2/pcsx2/commit/5c60f66890afeb8d2e762a9a7c34013895def630

--- pcsx2-1.6.0+dfsg.orig/CMakeLists.txt
+++ pcsx2-1.6.0+dfsg/CMakeLists.txt
@@ -4,7 +4,7 @@ project(Pcsx2)
 # Debian-based distributions require at least 2.8.5 due to multiarch.
 # Bumping up to 3.0 seems reasonable at this point, and will let us modernize
 # things a bit.
-cmake_minimum_required(VERSION 3.0.2)
+cmake_minimum_required(VERSION 3.0.2...3.5)
 
 # Variable to check that people use the good file
 set(TOP_CMAKE_WAS_SOURCED TRUE)