Unverified Commit 555a2501 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

libff: update cmake version (#445662)

parents 99bcf8c4 2a7b8c3b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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"
  '';