Unverified Commit aecc8216 authored by melvyn's avatar melvyn
Browse files

seafile-client: bump minimum CMake version with `substituteInPlace`

Upstream does not plan to update soon:
https://github.com/haiwen/seafile-client/issues/1615
parent 08dcb7ec
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -33,6 +33,12 @@ stdenv.mkDerivation rec {
    })
  ];

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      'CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)' \
      'CMAKE_MINIMUM_REQUIRED(VERSION 3.10)'
  '';

  nativeBuildInputs = [
    libuuid
    pkg-config