opengv: fix build with cmake4 (#455035)

This commit is contained in:
dish
2025-10-25 20:16:50 +00:00
committed by GitHub
+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";