
The `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` target properties establish the graph of link dependencies used to propagate usage requirements transitively. Therefore the `$<TARGET_PROPERTY:...>` generator expression should evaluate them transitively as it does for other transitive properties. Add policy CMP0189 for compatibility. Fixes: #26709 Issue: #12435
8 lines
108 B
C
8 lines
108 B
C
extern int static20(void);
|
|
extern int static21(void);
|
|
|
|
int main(void)
|
|
{
|
|
return static20() + static21();
|
|
}
|