diff options
author | friendlyanon <friendlyanon_@hotmail.com> | 2022-01-30 10:27:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-31 15:59:56 (GMT) |
commit | 34d263270e43f650953538d95f5dd2857baeeb10 (patch) | |
tree | 4efe161fed729ec24ec63ce2028f29ed3e08dbcb /Help/command/try_run.rst | |
parent | 7cc7f9aa2637165d837c98c23ab0952303a1ac28 (diff) | |
download | CMake-34d263270e43f650953538d95f5dd2857baeeb10.zip CMake-34d263270e43f650953538d95f5dd2857baeeb10.tar.gz CMake-34d263270e43f650953538d95f5dd2857baeeb10.tar.bz2 |
Help: Drop incorrect versionadded for try_compile result variable
In commit c705279bae (Help: Add `.. versionadded` directives to commands
documentation, 2020-11-08, v3.20.0-rc1~508^2) we accidentally added
``versionadded`` markup suggesting that the first argument to
`try_compile` was fixed as `RESULT_VAR` prior to CMake 3.14. This was
probably due to misinterpreting the change from commit 7975edeac5 (Help:
User-provided variable names for try_* commands, 2019-02-24,
v3.14.0-rc3~16^2~3).
The result variable has never been fixed. Drop the incorrect markup.
Diffstat (limited to 'Help/command/try_run.rst')
-rw-r--r-- | Help/command/try_run.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst index 404de98..fc41cdd 100644 --- a/Help/command/try_run.rst +++ b/Help/command/try_run.rst @@ -30,11 +30,6 @@ executable was built, but failed to run, then ``<runResultVar>`` will be set to ``FAILED_TO_RUN``. See the :command:`try_compile` command for information on how the test project is constructed to build the source file. -.. versionadded:: 3.14 - The names of the result variables ``<runResultVar>`` and - ``<compileResultVar>`` are defined by the user. Previously, they had - fixed names ``RUN_RESULT_VAR`` and ``COMPILE_RESULT_VAR``. - The options are: ``CMAKE_FLAGS <flags>...`` |