molequeue: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-22 18:47:25 -03:00
parent b5d4fb5c91
commit d7ce9cddbd
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
buildInputs = [ qttools ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.3 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
# Fix the broken CMake files to use the correct paths
postInstall = ''
substituteInPlace $out/lib/cmake/molequeue/MoleQueueConfig.cmake \