summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-28 13:19:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-28 13:19:35 (GMT)
commit3dd5b864f327c732d31afce8926c05d9a8f80fb6 (patch)
treec550272ac89b65ab008da022f2e05c5c9ed2c3e8
parent6e364879587f5f0310ae1a747f30fd767b3ceb17 (diff)
parent3fac3d365dfa92dbeecaf424759296d413ce7982 (diff)
downloadCMake-3dd5b864f327c732d31afce8926c05d9a8f80fb6.zip
CMake-3dd5b864f327c732d31afce8926c05d9a8f80fb6.tar.gz
CMake-3dd5b864f327c732d31afce8926c05d9a8f80fb6.tar.bz2
Merge topic 'doc-osx-cmp0126'
3fac3d365d Help: Mention CMP0126 in CMAKE_OSX_* variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7414
-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.