Unverified Commit 235f3885 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

grip-search: fix build with cmake4

parent 0720d4cf
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; {