diff options
author | Brad King <brad.king@kitware.com> | 2022-10-13 16:03:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-13 16:04:00 (GMT) |
commit | f9fd27a5ee6785500ed6c06a09dfd88a6d52fe75 (patch) | |
tree | f9e882d574c0efea032cd6572bd9083902a9f1f7 /Help/command | |
parent | ffad2c44d735d83e41710edfe1df3b88bb98e877 (diff) | |
download | CMake-f9fd27a5ee6785500ed6c06a09dfd88a6d52fe75.zip CMake-f9fd27a5ee6785500ed6c06a09dfd88a6d52fe75.tar.gz CMake-f9fd27a5ee6785500ed6c06a09dfd88a6d52fe75.tar.bz2 |
Help: Fix typo that crashes older pygments lexers
In commit cb14ae2b87 (try_compile: Add SOURCE_FROM_{ARG,VAR},
2022-09-21, v3.25.0-rc1~94^2~2) we accidentally added unbalanced closing
`]` characters in the `try_compile` and `try_run` signatures.
Fixes: #24053
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/try_compile.rst | 8 | ||||
-rw-r--r-- | Help/command/try_run.rst | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index 3a6b26a..9e9f39f 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -59,10 +59,10 @@ Try Compiling Source Files .. code-block:: cmake try_compile(<resultVar> - <SOURCES <srcfile...>] | - SOURCE_FROM_CONTENT <name> <content>] | - SOURCE_FROM_VAR <name> <var>] | - SOURCE_FROM_FILE <name> <path> >... + <SOURCES <srcfile...> | + SOURCE_FROM_CONTENT <name> <content> | + SOURCE_FROM_VAR <name> <var> | + SOURCE_FROM_FILE <name> <path> >... [NO_CACHE] [CMAKE_FLAGS <flags>...] [COMPILE_DEFINITIONS <defs>...] diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst index be7c734..cd41a4b 100644 --- a/Help/command/try_run.rst +++ b/Help/command/try_run.rst @@ -13,10 +13,10 @@ Try Compiling and Running Source Files .. code-block:: cmake try_run(<runResultVar> <compileResultVar> - <SOURCES <srcfile...>] | - SOURCE_FROM_CONTENT <name> <content>] | - SOURCE_FROM_VAR <name> <var>] | - SOURCE_FROM_FILE <name> <path> >... + <SOURCES <srcfile...> | + SOURCE_FROM_CONTENT <name> <content> | + SOURCE_FROM_VAR <name> <var> | + SOURCE_FROM_FILE <name> <path> >... [NO_CACHE] [CMAKE_FLAGS <flags>...] [COMPILE_DEFINITIONS <defs>...] |