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

grip-search: fix build with cmake4 (#454193)

parents 99c7a5db 235f3885
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ stdenv.mkDerivation rec {

  postPatch = ''
    substituteInPlace src/general/config.h --replace-fail "CUSTOM-BUILD" "${version}"

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

  meta = with lib; {