commit | 4843a376767c2c4b46e29ed85ac823443317ca40 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Mon May 16 10:04:48 2022 -0400 |
committer | Brad King <brad.king@kitware.com> | Mon May 16 10:39:42 2022 -0400 |
tree | 0a957181b6b5e352e5793d2ff845b365fed50e59 | |
parent | 364fde65ee93588cb519ece09b161c0e8e826c3c [diff] |
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