lxqt.libqtxdg_3_12: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-25 13:38:27 -03:00
parent 9d4915aa6e
commit e2bc41caa2
+5
View File
@@ -57,6 +57,11 @@ stdenv.mkDerivation (finalAttrs: {
)
'';
postPatch = lib.optionals (version == "3.12.0") ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
passthru.updateScript = gitUpdater { };
meta = {