summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorDa Quexian <daquexian566@gmail.com>2022-06-27 12:36:38 (GMT)
committerBrad King <brad.king@kitware.com>2022-06-27 17:36:13 (GMT)
commit3fac3d365dfa92dbeecaf424759296d413ce7982 (patch)
tree537a526d360c598c420fed316cde684123b423d3 /Help
parent8c562ece28b7a13ddb734b8c51710ebafe9ac570 (diff)
downloadCMake-3fac3d365dfa92dbeecaf424759296d413ce7982.zip
CMake-3fac3d365dfa92dbeecaf424759296d413ce7982.tar.gz
CMake-3fac3d365dfa92dbeecaf424759296d413ce7982.tar.bz2
Help: Mention CMP0126 in CMAKE_OSX_* variable documentation
Signed-off-by: Da Quexian <daquexian566@gmail.com>
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_OSX_VARIABLE.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_OSX_VARIABLE.txt b/Help/variable/CMAKE_OSX_VARIABLE.txt
index 16f3c1a..5670980 100644
--- a/Help/variable/CMAKE_OSX_VARIABLE.txt
+++ b/Help/variable/CMAKE_OSX_VARIABLE.txt
@@ -3,7 +3,8 @@ The value of this variable should be set prior to the first
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).
+remove it while initializing a cache entry of the same name) unless
+policy :policy:`CMP0126` is set to ``NEW``.
Despite the ``OSX`` part in the variable name(s) they apply also to
other SDKs than macOS like iOS, tvOS, or watchOS.