nunicode: fix build against CMake >= 4.0

This commit is contained in:
Martin Joerg
2025-09-29 14:18:57 +00:00
parent 3c90917fd5
commit 55b224c9f4
+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 = ''