xva-img: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-19 22:00:59 -03:00
parent 54687e1b3c
commit 72334db2d1
+5
View File
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
xxHash
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
maintainers = [ ];
description = "Tool for converting Xen images to raw and back";