diff options
author | Brad King <brad.king@kitware.com> | 2014-07-15 15:34:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-16 17:28:47 (GMT) |
commit | 6e7e881c57e8ff7295a1007d329708143b54baad (patch) | |
tree | 807f56133c933237aba2139682cb9ac925eb1b0a /Source | |
parent | 0400cd5dd1be33ebcc2c2d5dba8233a78b1cee68 (diff) | |
download | CMake-6e7e881c57e8ff7295a1007d329708143b54baad.zip CMake-6e7e881c57e8ff7295a1007d329708143b54baad.tar.gz CMake-6e7e881c57e8ff7295a1007d329708143b54baad.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index ffdeb6a..cdece87 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -6018,7 +6018,7 @@ void processILibs(const std::string& config, { tgts.push_back(item.Target); if(cmTarget::LinkInterface const* iface = - item.Target->GetLinkInterfaceLibraries(config, headTarget, false)) + item.Target->GetLinkInterfaceLibraries(config, headTarget, true)) { for(std::vector<cmLinkItem>::const_iterator it = iface->Libraries.begin(); |