Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | try_compile: Add option to skip passing platform variables | Brad King | 2022-05-16 | 1 | -0/+4 |
| | | | | | | | Add a `CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable to tell `try_compile` not to pass platform variables to the test project. Issue: #23219 | ||||
* | try_compile: Propagate platform variables in project-mode too | Brad King | 2022-05-16 | 1 | -0/+29 |
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 |