nunicode: fix build against CMake >= 4.0 (#447182)

This commit is contained in:
dotlambda
2025-09-29 18:20:10 +02:00
committed by GitHub
+5
View File
@@ -45,6 +45,11 @@ stdenv.mkDerivation (finalAttrs: {
# avoid name-clash on case-insensitive filesystems
cmakeBuildDir = "build-dir";
cmakeFlags = [
# fix compatibility with CMake (https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html)
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "4.0")
];
doCheck = true;
checkPhase = ''