summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-04 18:39:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-04 18:39:16 (GMT)
commit10fca3ccc20998fabd5084badc4aef154b38a8b0 (patch)
tree867fee9e95ac68dd78b5648f9d942deb42a09f64 /Help
parent0abf88f6f618bd08933f8c817f0c4ac07b0bc52c (diff)
parentbc57c32d7ae4d061dcf4d5a9638f74afbfd95d66 (diff)
downloadCMake-10fca3ccc20998fabd5084badc4aef154b38a8b0.zip
CMake-10fca3ccc20998fabd5084badc4aef154b38a8b0.tar.gz
CMake-10fca3ccc20998fabd5084badc4aef154b38a8b0.tar.bz2
Merge topic 'doc-osx-vars-as-cache'
bc57c32d7a Help: Document CMAKE_OSX_* variables as cache entries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2443
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_OSX_VARIABLE.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_OSX_VARIABLE.txt b/Help/variable/CMAKE_OSX_VARIABLE.txt
index 5b84726..16f3c1a 100644
--- a/Help/variable/CMAKE_OSX_VARIABLE.txt
+++ b/Help/variable/CMAKE_OSX_VARIABLE.txt
@@ -2,6 +2,8 @@ The value of this variable should be set prior to the first
:command:`project` or :command:`enable_language` command invocation
because it may influence configuration of the toolchain and flags.
It is intended to be set locally by the user creating a build tree.
+This variable should be set as a ``CACHE`` entry (or else CMake may
+remove it while initializing a cache entry of the same name).
Despite the ``OSX`` part in the variable name(s) they apply also to
other SDKs than macOS like iOS, tvOS, or watchOS.