Getting/setting properties on alias targets
The following does not currently do what we want:
add_library(foo foo.c)
add_library(foo::foo ALIAS foo)
set_property(TARGET foo::foo PROPERTY LIBRARY_OUTPUT_PATH lib)
We expect this to set LIBRARY_OUTPUT_PATH
on foo
, but it instead tries to set it on foo::foo
.
TBD: does this silently set the property on foo::foo
which doesn't get used, or does it error out?