jfbview: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 11:44:42 -03:00
parent 0720d4cf7a
commit 4ab2d8965c
+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 = {