fancontrol-gui: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-28 08:41:53 -03:00
parent 09f3614b63
commit 00baa72534

View File

@@ -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;