summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-02-24 17:23:58 +1100
committerCraig Scott <craig.scott@crascit.com>2019-02-24 17:23:58 +1100
commit4d55c1f541f2fd31522192e0e8f0838f20de2a29 (patch)
tree6b9472d4fb8eaa848ffa0b24cfe55795928e62bf /Help
parent861dbef4e718a8500721f48b617c33088067a3a1 (diff)
downloadcmake-4d55c1f541f2fd31522192e0e8f0838f20de2a29.tar.gz
Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
Diffstat (limited to 'Help')
-rw-r--r--Help/command/try_compile.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 7e13ab166e..ca8fc77fab 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -156,7 +156,9 @@ the type of target used for the source file signature.
Set the :variable:`CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify
variables that must be propagated into the test project. This variable is
-meant for use only in toolchain files.
+meant for use only in toolchain files and is only honored by the
+``try_compile()`` command for the source files form, not when given a whole
+project.
If :policy:`CMP0067` is set to ``NEW``, or any of the ``<LANG>_STANDARD``,
``<LANG>_STANDARD_REQUIRED``, or ``<LANG>_EXTENSIONS`` options are used,