From f9284ceeeb49836e1d5f1198cd89018283f724c0 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sun, 5 Oct 2025 19:08:16 +0200 Subject: [PATCH] civetweb: workaround CMake 4 compat --- pkgs/by-name/ci/civetweb/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ci/civetweb/package.nix b/pkgs/by-name/ci/civetweb/package.nix index 07c61d26a4e3..6736b11090e8 100644 --- a/pkgs/by-name/ci/civetweb/package.nix +++ b/pkgs/by-name/ci/civetweb/package.nix @@ -57,6 +57,9 @@ stdenv.mkDerivation (finalAttrs: { # # [1] https://github.com/civetweb/civetweb/blob/cafd5f8fae3b859b7f8c29feb03ea075c7221497/CMakeLists.txt#L56 "-DCIVETWEB_THREAD_STACK_SIZE=0" + + # Workaround CMake 4 compat + (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") ]; meta = {