summaryrefslogtreecommitdiffstats
path: root/Help/command/try_compile.rst
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-30 19:49:35 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-30 19:49:35 (GMT)
commitef05a56387c2c84708129c0bf9a7172f76de3628 (patch)
treebf4b29549bd70e63c165d3f169493e6bd224e89b /Help/command/try_compile.rst
parentcadcb6a5f0e1ebaefd74f8c52151e410c57cfa96 (diff)
downloadCMake-ef05a56387c2c84708129c0bf9a7172f76de3628.zip
CMake-ef05a56387c2c84708129c0bf9a7172f76de3628.tar.gz
CMake-ef05a56387c2c84708129c0bf9a7172f76de3628.tar.bz2
Help: Fix typo in try_compile documentation
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 6cb4f99..1391c56 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