opengv: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-23 18:30:38 -03:00
parent 113dc6bea4
commit 5bab9cf4ef
+5
View File
@@ -24,6 +24,11 @@ stdenv.mkDerivation (finalAttrs: {
eigen
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.1.3)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "Collection of computer vision methods for solving geometric vision problems";
homepage = "https://github.com/laurentkneip/opengv";