pingtcp: fix build against CMake >= 4.0

This commit is contained in:
Martin Joerg
2025-10-06 13:19:36 +00:00
parent 8a2b99e16a
commit fb7a9db841
+5
View File
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [
# fix compatibility with CMake (https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html)
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "4.0")
];
doCheck = false;
postInstall = ''