summaryrefslogtreecommitdiffstats
path: root/Help/command/try_compile.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-04 14:27:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-10-04 14:27:40 (GMT)
commit6755539fca2deaab112cafe25c637618653d7fc7 (patch)
tree1f6efc66dfd4940f0321d7f9b792390632046604 /Help/command/try_compile.rst
parent7bea75f1fac9a7214c17e3b01568f7f1b07d93a7 (diff)
parentef05a56387c2c84708129c0bf9a7172f76de3628 (diff)
downloadCMake-6755539fca2deaab112cafe25c637618653d7fc7.zip
CMake-6755539fca2deaab112cafe25c637618653d7fc7.tar.gz
CMake-6755539fca2deaab112cafe25c637618653d7fc7.tar.bz2
Merge topic 'fix-try_compile-doc-typo'
ef05a56387 Help: Fix typo in try_compile documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7736
Diffstat (limited to 'Help/command/try_compile.rst')
-rw-r--r--Help/command/try_compile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 2f62917..9d587c1 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -214,7 +214,7 @@ The options are:
``SOURCE_FROM_*``. (Otherwise, ``SOURCES`` is usually more convenient.) The
specified ``<name>`` is not allowed to contain path components.
-``SOURCE_FROM_VAR <name> <content>``
+``SOURCE_FROM_VAR <name> <var>``
.. versionadded:: 3.25
Write the contents of ``<var>`` to a file named ``<name>`` in the operation