summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-04 15:26:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-04 15:26:52 (GMT)
commit94d669ecc7914bec49288a5a91efefc1f23eb2a0 (patch)
tree7cd913b498ec89594f0a95a961f4a6c1538a39b7
parentd0681fda117505b6508fa2c6e291237bbf7a0a83 (diff)
parent657fb0aa6fadf0c3aa4f8a914feb621cdfb6af4f (diff)
downloadCMake-94d669ecc7914bec49288a5a91efefc1f23eb2a0.zip
CMake-94d669ecc7914bec49288a5a91efefc1f23eb2a0.tar.gz
CMake-94d669ecc7914bec49288a5a91efefc1f23eb2a0.tar.bz2
Merge branch 'fix_load_cache_docs' into release-3.16
Merge-request: !3971
-rw-r--r--Help/command/load_cache.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/load_cache.rst b/Help/command/load_cache.rst
index 33625c4..b89eb61 100644
--- a/Help/command/load_cache.rst
+++ b/Help/command/load_cache.rst
@@ -5,7 +5,7 @@ Load in the values from another project's CMake cache.
.. code-block:: cmake
- load_cache(pathToCacheFile READ_WITH_PREFIX prefix entry1...)
+ load_cache(pathToBuildDirectory READ_WITH_PREFIX prefix entry1...)
Reads the cache and store the requested entries in variables with their
name prefixed with the given prefix. This only reads the values, and
@@ -13,7 +13,7 @@ does not create entries in the local project's cache.
.. code-block:: cmake
- load_cache(pathToCacheFile [EXCLUDE entry1...]
+ load_cache(pathToBuildDirectory [EXCLUDE entry1...]
[INCLUDE_INTERNALS entry1...])
Loads in the values from another cache and store them in the local