summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/try_compile-project-platform-vars.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/release/dev/try_compile-project-platform-vars.rst')
-rw-r--r--Help/release/dev/try_compile-project-platform-vars.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/try_compile-project-platform-vars.rst b/Help/release/dev/try_compile-project-platform-vars.rst
index 2f409a3..06596d4 100644
--- a/Help/release/dev/try_compile-project-platform-vars.rst
+++ b/Help/release/dev/try_compile-project-platform-vars.rst
@@ -4,3 +4,7 @@ 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.