mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
a6562ff579
Add a `CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable to tell `try_compile` not to pass platform variables to the test project. Issue: #23219
11 lines
419 B
ReStructuredText
11 lines
419 B
ReStructuredText
try_compile-project-platform-vars
|
|
---------------------------------
|
|
|
|
* The :command:`try_compile` command
|
|
:ref:`whole-project <Try Compiling Whole Projects>` signature
|
|
now propagates platform variables. See policy :policy:`CMP0137`.
|
|
|
|
* The :variable:`CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable
|
|
was added to tell the :command:`try_compile` command not to
|
|
pass any platform variables to the test project.
|