jfbview: fix build with cmake4 (#454226)

This commit is contained in:
Yohann Boniface
2025-10-21 18:28:27 +00:00
committed by GitHub
+5
View File
@@ -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 = {