Unverified Commit 3f62e27c authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

nuked-md: fix build with cmake4 (#453435)

parents cbf2a569 03795ff8
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;