Unverified Commit ef47a786 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

teapot: fix build with cmake4 (#453946)

parents ae8378b5 93c494f7
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 = ''