diff options
author | Brad King <brad.king@kitware.com> | 2022-03-31 12:48:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-31 12:49:05 (GMT) |
commit | bc1cde42d47bbc66692d1e7483c599d308097124 (patch) | |
tree | f52f3d89ae2ccb22f244a81f4b4e4e5eae62572f /Help | |
parent | 816151c118516e7f39357a3656b496e4b4884fc5 (diff) | |
parent | cf4100d7da85e714df727cebd591124486a026ab (diff) | |
download | CMake-bc1cde42d47bbc66692d1e7483c599d308097124.zip CMake-bc1cde42d47bbc66692d1e7483c599d308097124.tar.gz CMake-bc1cde42d47bbc66692d1e7483c599d308097124.tar.bz2 |
Merge topic 'help-variables-cmakecachefiledir-might-not-be-defined' into release-3.23
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.rst | 7 |
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. |