nuked-md: fix build with cmake4
This commit is contained in:
@@ -41,7 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# FOUND.
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace 'SDL2 REQUIRED' 'SDL2'
|
||||
--replace 'SDL2 REQUIRED' 'SDL2' \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
|
||||
# CMake 3.0 is deprecated and is no longer supported by CMake > 4
|
||||
# https://github.com/NixOS/nixpkgs/issues/445447
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user