quick-lint-js: fix CMake 4 compatibility

Tracking: https://github.com/NixOS/nixpkgs/issues/445447
This commit is contained in:
Gaetan Lepage
2025-10-11 10:17:30 +00:00
parent 0792b459ed
commit e18d865bd6
@@ -24,6 +24,10 @@ let
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/108496#issuecomment-1192083379
(lib.cmakeBool "CMAKE_SKIP_BUILD_RPATH" true)
# CMake 4 dropped support of versions lower than 3.5,
# versions lower than 3.10 are deprecated.
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
quick-lint-js-build-tools = buildPackages.stdenv.mkDerivation {