Unverified Commit f95a1118 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

jfbview: fix build with cmake4 (#454226)

parents 5539317c 4ab2d896
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 = {