nunicode: fix build against CMake >= 4.0 (#447182)
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user