Help: Clarify that you can't set properties on ALIAS targets

Issue: #19445
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman
2023-06-24 10:53:05 -06:00
committed by Brad King
parent f58c7659d8
commit aed550410a
2 changed files with 4 additions and 0 deletions

View File

@@ -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``).

View File

@@ -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
^^^^^^^^