From 3fac3d365dfa92dbeecaf424759296d413ce7982 Mon Sep 17 00:00:00 2001 From: Da Quexian Date: Mon, 27 Jun 2022 20:36:38 +0800 Subject: Help: Mention CMP0126 in CMAKE_OSX_* variable documentation Signed-off-by: Da Quexian --- Help/variable/CMAKE_OSX_VARIABLE.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v0.12