summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-31 12:48:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-31 12:49:06 (GMT)
commit4c5c9291bce6ec807d9bc6fd1744c5d7db09b4c2 (patch)
treea3437beb07b18ec26ec17b705cc92e99a8264649 /Help
parenta3cc30c350e88b6fc6757184bcbc44625ea92cff (diff)
parentcf4100d7da85e714df727cebd591124486a026ab (diff)
downloadCMake-4c5c9291bce6ec807d9bc6fd1744c5d7db09b4c2.zip
CMake-4c5c9291bce6ec807d9bc6fd1744c5d7db09b4c2.tar.gz
CMake-4c5c9291bce6ec807d9bc6fd1744c5d7db09b4c2.tar.bz2
Merge topic 'help-variables-cmakecachefiledir-might-not-be-defined'
cf4100d7da Help: Add that CMAKE_CACHEFILE_DIR might not be defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7125
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_CACHEFILE_DIR.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/variable/CMAKE_CACHEFILE_DIR.rst b/Help/variable/CMAKE_CACHEFILE_DIR.rst
index 8604d0e..3fee09f 100644
--- a/Help/variable/CMAKE_CACHEFILE_DIR.rst
+++ b/Help/variable/CMAKE_CACHEFILE_DIR.rst
@@ -1,7 +1,6 @@
CMAKE_CACHEFILE_DIR
-------------------
-The directory with the ``CMakeCache.txt`` file.
-
-This is the full path to the directory that has the ``CMakeCache.txt``
-file in it. This is the same as :variable:`CMAKE_BINARY_DIR`.
+This variable is used internally by CMake, and may not be set during
+the first configuration of a build tree. When it is set, it has the
+same value as :variable:`CMAKE_BINARY_DIR`. Use that variable instead.