kcp: fix build with cmake4 (#454250)

This commit is contained in:
Yohann Boniface
2025-10-27 23:17:01 +00:00
committed by GitHub
+5
View File
@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "Fast and Reliable ARQ Protocol";
homepage = "https://github.com/skywind3000/kcp";