Files
cmake/Tests/RunCMake/alias_targets/set_property-ALIAS_GLOBAL-stderr.txt
T
Arha Gatram a121419908 ALIAS: Add support for set_property and set_target_properties commands
Currently, getting properties from an ALIAS target retrieves the property
from the target which the alias references while setting properties results
in an error. This relaxes set_property and set_target_properties to
accept ALIAS targets and act on the referenced target, mirroring the get
behavior.

An error is raised when setting ALIAS_GLOBAL or ALIASED_TARGET on an ALIAS
target.

Closes: #19445
2026-07-07 07:32:27 -07:00

3 lines
148 B
Plaintext

CMake Error at set_property-ALIAS_GLOBAL\.cmake:[0-9]+ \(set_property\):
set_property can not set property ALIAS_GLOBAL on an ALIAS target: alias