marl: fix build with cmake4 (#454541)

This commit is contained in:
dish
2025-10-27 14:07:50 +00:00
committed by GitHub
+5
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";