qpoases: backport patch for CMake 4

Co-authored-by: Guilhem Saurel <guilhem.saurel@laas.fr>
This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
co-authored by Guilhem Saurel
parent ba146221fe
commit f6a2efdec8
+9
View File
@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
fetchpatch,
nix-update-script,
cmake,
@@ -21,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-L6uBRXaPJZinIRTm+x+wnXmlVkSlWm4XMB5yX/wxg2A=";
};
patches = [
(fetchpatch {
name = "qpoases-fix-cmake-4.patch";
url = "https://github.com/coin-or/qpOASES/commit/35b762ba3fee2e009d9e99650c68514da05585c5.patch";
hash = "sha256-I6l+ah1j45VEMokZqX6DYVmE55uWlVi0rx2B+HQv5Ik=";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [