Unverified Commit d20f37c9 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

kdesvn: fix minimum cmake version policy (#499315)

parents ee8bbfa1 a318b27c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ stdenv.mkDerivation {
    hash = "sha256-IaERXT648v2nTW89V6gpf7Dt95GJd92QmC50de+Knq8=";
  };

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.1.0)" "cmake_minimum_required(VERSION 3.10)"
  '';

  cmakeFlags = [
    "-DSUBVERSION_INSTALL_PATH=${lib.getDev subversion}"
  ];