From aed550410abfedbdc7270486493a967bac328a92 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Sat, 24 Jun 2023 10:53:05 -0600 Subject: Help: Clarify that you can't set properties on ALIAS targets Issue: #19445 Signed-off-by: Ryan Friedman --- Help/command/set_property.rst | 2 ++ Help/command/set_target_properties.rst | 2 ++ 2 files changed, 4 insertions(+) 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 ^^^^^^^^ -- cgit v0.12