summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeTargetDepends.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-07-02 14:59:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-02 15:01:37 (GMT)
commit340535156d1ccd3a8e180ab2fcbf87e613ef51aa (patch)
treee21b4aaaad5d9dae1412721f83f26c64db11b375 /Source/cmComputeTargetDepends.cxx
parente7fc1c600ed6d4b85d1b0e0e48a8cbbbf2612820 (diff)
downloadCMake-340535156d1ccd3a8e180ab2fcbf87e613ef51aa.zip
CMake-340535156d1ccd3a8e180ab2fcbf87e613ef51aa.tar.gz
CMake-340535156d1ccd3a8e180ab2fcbf87e613ef51aa.tar.bz2
Add entire link interface transitive closure as target depends.
This was missing from commit 30962029 (Make targets depend on the link interface of their dependees., 2012-12-26), which caused only immeditate entries of the link interface to become target depends.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r--Source/cmComputeTargetDepends.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx
index 8fd95b9..0829add 100644
--- a/Source/cmComputeTargetDepends.cxx
+++ b/Source/cmComputeTargetDepends.cxx
@@ -282,6 +282,8 @@ void cmComputeTargetDepends::AddInterfaceDepends(int depender_index,
if(emitted.insert(*lib).second)
{
this->AddTargetDepend(depender_index, lib->c_str(), true);
+ this->AddInterfaceDepends(depender_index, lib->c_str(),
+ true, emitted);
}
}
}