summaryrefslogtreecommitdiffstats
path: root/Help/command/target_link_options.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/target_link_options.rst')
-rw-r--r--Help/command/target_link_options.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/target_link_options.rst b/Help/command/target_link_options.rst
index 8f47180..0d3c40c 100644
--- a/Help/command/target_link_options.rst
+++ b/Help/command/target_link_options.rst
@@ -3,13 +3,13 @@ target_link_options
Add link options to a target.
-::
+.. code-block:: cmake
target_link_options(<target> [BEFORE]
<INTERFACE|PUBLIC|PRIVATE> [items1...]
[<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
-Specify link options to use when linking a given target. The
+Specifies link options to use when linking a given target. The
named ``<target>`` must have been created by a command such as
:command:`add_executable` or :command:`add_library` and must not be an
:ref:`ALIAS target <Alias Targets>`.