glslls: fix cmake 4 compatibility (#450784)
This commit is contained in:
@@ -25,6 +25,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ninja
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
# 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")
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Language server implementation for GLSL";
|
||||
mainProgram = "glslls";
|
||||
|
||||
Reference in New Issue
Block a user