summaryrefslogtreecommitdiff
path: root/Help/command/get_target_property.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/get_target_property.rst')
-rw-r--r--Help/command/get_target_property.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/get_target_property.rst b/Help/command/get_target_property.rst
index 98e9db30a..43276811d 100644
--- a/Help/command/get_target_property.rst
+++ b/Help/command/get_target_property.rst
@@ -3,7 +3,7 @@ get_target_property
Get a property from a target.
-::
+.. code-block:: cmake
get_target_property(VAR target property)
@@ -23,3 +23,5 @@ target so far created. The targets do not need to be in the current
``CMakeLists.txt`` file.
See also the more general :command:`get_property` command.
+
+See :ref:`Target Properties` for the list of properties known to CMake.