lxqt.libqtxdg_3_12: fix build with cmake4 (#455582)

This commit is contained in:
dish
2025-10-27 13:54:57 +00:00
committed by GitHub
+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 = {