marl: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-22 09:51:45 -03:00
parent b5d4fb5c91
commit dacb222c4b

View File

@@ -21,6 +21,11 @@ stdenv.mkDerivation {
# Turn on the flag to install after building the library.
cmakeFlags = [ "-DMARL_INSTALL=ON" ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://github.com/google/marl";
description = "Hybrid thread / fiber task scheduler written in C++ 11";