Unverified Commit be37d865 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

xwinmosaic: fix build with cmake4 (#453667)

parents 55614160 15acc339
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ stdenv.mkDerivation rec {
    libXdamage
  ];

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

  meta = {
    description = "X window switcher drawing a colourful grid";
    license = lib.licenses.bsd2;