diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-09 15:41:47 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-09 15:41:47 (GMT) |
commit | d6af1e83bc1fa7f8dcdeadcf57a91d8e5469dae8 (patch) | |
tree | 23fb6131aacd71c3b4ae458e1ca8d569d858fcb7 /Help | |
parent | 3fb2112880ca3be6299721f5add1928483de0b1b (diff) | |
download | CMake-d6af1e83bc1fa7f8dcdeadcf57a91d8e5469dae8.zip CMake-d6af1e83bc1fa7f8dcdeadcf57a91d8e5469dae8.tar.gz CMake-d6af1e83bc1fa7f8dcdeadcf57a91d8e5469dae8.tar.bz2 |
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.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake.1.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 0f00f53..0eadff4 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -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" } - ] + } } ] } |