mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 00:39:03 -05:00
Honor $<LINK_ONLY> when checking interface properties
Callers of cmTarget::GetLinkImplementationClosure are interested in the set of targets whose interface properties propagate to the current target. This excludes targets guarded by $<LINK_ONLY>. Teach the CompatibleInterface test to cover suppression of interface compatibility tests with $<LINK_ONLY>. Although this is not recommended in practice, it is a way of covering the above behavior.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
int foo()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user