diff options
author | Brad King <brad.king@kitware.com> | 2023-06-27 15:03:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-27 15:03:36 (GMT) |
commit | f9fe9099ab1b02239f5904c8c4ca477f63de1f2c (patch) | |
tree | 91bd8e9ffef5601b635b102977671c3e7abc4f86 | |
parent | b1d2c495ddba5fb9d4ea90d99937d1c8aa1488f0 (diff) | |
parent | aed550410abfedbdc7270486493a967bac328a92 (diff) | |
download | CMake-f9fe9099ab1b02239f5904c8c4ca477f63de1f2c.zip CMake-f9fe9099ab1b02239f5904c8c4ca477f63de1f2c.tar.gz CMake-f9fe9099ab1b02239f5904c8c4ca477f63de1f2c.tar.bz2 |
Merge topic 'alias-set-target-prop' into release-3.27
aed550410a Help: Clarify that you can't set properties on ALIAS targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8591
-rw-r--r-- | Help/command/set_property.rst | 2 | ||||
-rw-r--r-- | Help/command/set_target_properties.rst | 2 |
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 ^^^^^^^^ |