summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-16 15:15:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-12-16 15:15:01 (GMT)
commit2f82798ef88e8d03aa6457e57faebf4fc16d1660 (patch)
tree326f8c83ad3cf2bf9306a0470bada219f88ecdeb /Source
parente44cdb04f1172f8cb516400e09d2ec0fc1379039 (diff)
parent183b95098ea4102da5ca510e8c7a36106a5c257a (diff)
downloadCMake-2f82798ef88e8d03aa6457e57faebf4fc16d1660.zip
CMake-2f82798ef88e8d03aa6457e57faebf4fc16d1660.tar.gz
CMake-2f82798ef88e8d03aa6457e57faebf4fc16d1660.tar.bz2
Merge topic 'transitive-shared-lib-depend'
183b950 Follow all dependencies of shared library private dependencies
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkDepends.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 1021bf2..802cfcf 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -429,7 +429,8 @@ void cmComputeLinkDepends::HandleSharedDependency(SharedDepEntry const& dep)
if(cmTarget::LinkInterface const* iface =
entry.Target->GetLinkInterface(this->Config))
{
- // We use just the shared dependencies, not the interface.
+ // Follow public and private dependencies transitively.
+ this->QueueSharedDependencies(index, iface->Libraries);
this->QueueSharedDependencies(index, iface->SharedDeps);
}
}