Files
CMake/Tests/RunCMake/GenEx-TARGET_PROPERTY/Scope-build-stdout.txt
T
Brad King 8437141b53 Genex: Fix TARGET_PROPERTY lookup scope in transitive usage requirements
When `$<TARGET_PROPERTY:tgt,prop>` is used in an `INTERFACE_*` target
property for usage requirements, it may be evaluated in the context of a
dependent target in another directory.  Look up the `tgt` name in the
directory of the target whose property holds the expression so that
imported targets isolated to that directory are visible.

Fixes: #24163
2022-11-17 07:57:21 -05:00

7 lines
219 B
Plaintext

.*iface scope1: 'SCOPED_A_1;SCOPED_B_1'
.*iface scope2: 'SCOPED_A_2'
.*iface scope2 in scope1: 'SCOPED_A_2'
.*custom scope1: 'SCOPED_A_1;SCOPED_B_1'
.*custom scope2: 'SCOPED_A_2'
.*custom scope2 in scope1: 'SCOPED_A_1'