1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  
     | 
    
      Description: Fix FTBFS with CMake 4
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1113099
--- leela-zero-0.17.orig/CMakeLists.txt
+++ leela-zero-0.17/CMakeLists.txt
@@ -12,7 +12,7 @@
 # You should have received a copy of the GNU General Public License
 # along with Leela Zero.  If not, see <http://www.gnu.org/licenses/>.
 
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
 include(GNUInstallDirs)
--- leela-zero-0.17.orig/autogtp/CMakeLists.txt
+++ leela-zero-0.17/autogtp/CMakeLists.txt
@@ -1,5 +1,5 @@
 
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
 
 add_executable(autogtp
 	Game.h Order.h Management.h Worker.h Job.h Result.h Console.h
--- leela-zero-0.17.orig/validation/CMakeLists.txt
+++ leela-zero-0.17/validation/CMakeLists.txt
@@ -1,5 +1,5 @@
 
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
 
 add_executable(validation
         main.cpp ../autogtp/Game.cpp SPRT.cpp Validation.cpp Results.cpp
 
     |