mirror of https://github.com/google/gemma.cpp.git
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.
This commit is contained in:
parent
78573b6718
commit
cc1d256cff
|
|
@ -26,6 +26,9 @@
|
||||||
"description": "Visual Studio 2022 with Clang/LLVM frontend",
|
"description": "Visual Studio 2022 with Clang/LLVM frontend",
|
||||||
"generator": "Visual Studio 17 2022",
|
"generator": "Visual Studio 17 2022",
|
||||||
"toolset": "ClangCL",
|
"toolset": "ClangCL",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_POLICY_VERSION_MINIMUM": "3.5"
|
||||||
|
},
|
||||||
"condition": {
|
"condition": {
|
||||||
"type": "equals",
|
"type": "equals",
|
||||||
"lhs": "${hostSystemName}",
|
"lhs": "${hostSystemName}",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue