libff: update cmake version

This commit is contained in:
Emilio López
2025-09-23 20:36:53 -03:00
parent 15010e4610
commit 2a7b8c3b5d
+4 -1
View File
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
"-DUSE_ASM=OFF"
];
postPatch = lib.optionalString (!enableStatic) ''
postPatch = ''
substituteInPlace CMakeLists.txt --replace "VERSION 2.8" "VERSION 3.10"
''
+ lib.optionalString (!enableStatic) ''
substituteInPlace libff/CMakeLists.txt --replace "STATIC" "SHARED"
'';