Unverified Commit 93c494f7 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

teapot: fix build with cmake4

parent fac5e90a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -46,6 +46,11 @@ stdenv.mkDerivation (finalAttrs: {
    "-DENABLE_HELP=OFF"
  ];

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

  meta = {
    description = "Table Editor And Planner, Or: Teapot";
    longDescription = ''