Unverified Commit 9d55bbd7 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

dreamchess: fix build with cmake 4 (#451402)

parents 92f9609b 3d3e330e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a007f60..a993999 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.10)
 project(DreamChess VERSION 0.3.0)
 
 set(DREAMCHESS_RELEASE TRUE)
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-qus/RjwdAl9SuDXfLVKTPImqrvPF3xSDVlbXYLM3JNE=";
  };

  patches = [
    ### Fix cmake minimum version
    ./0000-fix-cmake-min.patch
  ];

  buildInputs = [
    SDL2
    SDL2_image