summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-27 15:03:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-06-27 15:03:37 (GMT)
commit024791a702d7b5cf7a76439d948bcf88bcd7dcdf (patch)
tree23a8656161df496fd8772f2f9061e1875e1024ae /Help
parent3fcb2d91ad1d8b287efa68eff1e670794d7bf1dc (diff)
parentaed550410abfedbdc7270486493a967bac328a92 (diff)
downloadCMake-024791a702d7b5cf7a76439d948bcf88bcd7dcdf.zip
CMake-024791a702d7b5cf7a76439d948bcf88bcd7dcdf.tar.gz
CMake-024791a702d7b5cf7a76439d948bcf88bcd7dcdf.tar.bz2
Merge topic 'alias-set-target-prop'
aed550410a Help: Clarify that you can't set properties on ALIAS targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8591
Diffstat (limited to 'Help')
-rw-r--r--Help/command/set_property.rst2
-rw-r--r--Help/command/set_target_properties.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/set_property.rst b/Help/command/set_property.rst
index 8dd4b94..fc43974 100644
--- a/Help/command/set_property.rst
+++ b/Help/command/set_property.rst
@@ -38,6 +38,8 @@ It must be one of the following:
Scope may name zero or more existing targets.
See also the :command:`set_target_properties` command.
+ :ref:`Alias Targets` do not support setting target properties.
+
``SOURCE``
Scope may name zero or more source files. By default, source file properties
are only visible to targets added in the same directory (``CMakeLists.txt``).
diff --git a/Help/command/set_target_properties.rst b/Help/command/set_target_properties.rst
index 856b92c..874788b 100644
--- a/Help/command/set_target_properties.rst
+++ b/Help/command/set_target_properties.rst
@@ -15,6 +15,8 @@ set next. You can use any prop value pair you want and extract it
later with the :command:`get_property` or :command:`get_target_property`
command.
+:ref:`Alias Targets` do not support setting target properties.
+
See Also
^^^^^^^^