dreamchess: fix build with cmake 4 (#451402)
This commit is contained in:
10
pkgs/by-name/dr/dreamchess/0000-fix-cmake-min.patch
Normal file
10
pkgs/by-name/dr/dreamchess/0000-fix-cmake-min.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user