mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
Help: Fix documentation of CMakePresets.json's cacheVariables
cacheVariables is a map with variable names as the keys, but the example in the documentation was not updated to reflect this. Fix the example.
This commit is contained in:
@@ -190,13 +190,12 @@ source and build trees and generate a buildsystem:
|
||||
"description": "Default build using Ninja generator",
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/build/default",
|
||||
"cacheVariables": [
|
||||
{
|
||||
"name": "MY_CACHE_VARIABLE",
|
||||
"cacheVariables": {
|
||||
"MY_CACHE_VARIABLE": {
|
||||
"type": "BOOL",
|
||||
"value": "OFF"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user