Unverified Commit e0fd9eb9 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

brunsli: fix build with cmake v4 (#445497)

parents 88bda6ef 965f006e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,11 @@ stdenv.mkDerivation rec {
  ''
  + lib.optionalString stdenv.hostPlatform.isDarwin ''
    rm -r build
  ''
  # fix build with cmake v4, should be removed in next release
  + ''
    substituteInPlace CMakeLists.txt \
      --replace-fail 'cmake_minimum_required(VERSION 3.1)' 'cmake_minimum_required(VERSION 3.10)'
  '';

  nativeBuildInputs = [