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