Unverified Commit 643e4bdc authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

fancontrol-gui: fix build with cmake4 (#456431)

parents efabf486 00baa725
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,11 @@ stdenv.mkDerivation rec {
    ./version.patch
  ];

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

  passthru = {
    tests.version = testers.testVersion {
      package = fancontrol-gui;