From cc1d256cffac2a0c8c14256134a04d12a3b170ef Mon Sep 17 00:00:00 2001 From: Hitesh K V Date: Thu, 16 Oct 2025 12:08:29 +0530 Subject: [PATCH] Update CMakePresets.json Adding the following cache variable in the CMakePresets.json to enforce modern policies automatically This ensures all developers can run cmake --preset windows without hitting legacy compatibility or deprecation issues. --- CMakePresets.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakePresets.json b/CMakePresets.json index a34b5bf6..c321b637 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -26,6 +26,9 @@ "description": "Visual Studio 2022 with Clang/LLVM frontend", "generator": "Visual Studio 17 2022", "toolset": "ClangCL", + "cacheVariables": { + "CMAKE_POLICY_VERSION_MINIMUM": "3.5" + }, "condition": { "type": "equals", "lhs": "${hostSystemName}",