فهرست منبع

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 <[email protected]>
Merge-request: !8591
Brad King 2 سال پیش
والد
کامیت
f9fe9099ab
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 2 0
      Help/command/set_property.rst
  2. 2 0
      Help/command/set_target_properties.rst

+ 2 - 0
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``).

+ 2 - 0
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
 ^^^^^^^^