Unverified Commit 4ab2d896 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

jfbview: fix build with cmake4

parent 0720d4cf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -53,6 +53,11 @@ stdenv.mkDerivation (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.2)" "cmake_minimum_required(VERSION 3.10)"
  '';

  passthru.updateScript = nix-update-script { };

  meta = {