Commit 03795ff8 authored by Sigmanificient's avatar Sigmanificient
Browse files

nuked-md: fix build with cmake4

parent b7ecb71b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;