summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-policies.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-16 14:04:48 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-16 14:39:42 (GMT)
commit4843a376767c2c4b46e29ed85ac823443317ca40 (patch)
tree0a957181b6b5e352e5793d2ff845b365fed50e59 /Help/manual/cmake-policies.7.rst
parent364fde65ee93588cb519ece09b161c0e8e826c3c (diff)
downloadCMake-4843a376767c2c4b46e29ed85ac823443317ca40.zip
CMake-4843a376767c2c4b46e29ed85ac823443317ca40.tar.gz
CMake-4843a376767c2c4b46e29ed85ac823443317ca40.tar.bz2
try_compile: Propagate platform variables in project-mode too
Add policy CMP0137 to propagate both our builtin variables and those listed by `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` to `try_compile` whole-project builds. Inspired-by: Alexander Neumann <Alexander.Neumann@hamburg.de> Fixes: #23219
Diffstat (limited to 'Help/manual/cmake-policies.7.rst')
-rw-r--r--Help/manual/cmake-policies.7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 259cebb..788d086 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -58,6 +58,7 @@ Policies Introduced by CMake 3.24
.. toctree::
:maxdepth: 1
+ CMP0137: try_compile() passes platform variables in project mode. </policy/CMP0137>
CMP0136: Watcom runtime library flags are selected by an abstraction. </policy/CMP0136>
CMP0135: ExternalProject ignores timestamps in archives by default for the URL download method. </policy/CMP0135>
CMP0134: Fallback to \"HOST\" Windows registry view when \"TARGET\" view is not usable. </policy/CMP0134>