summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 22:54:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-12 16:39:58 (GMT)
commitd6b394edcb58752cfa3d2a34a81f558676781304 (patch)
tree0c728f3c349b5866fd5917678eed9c3a9ac25d57 /Source/cmComputeLinkDepends.cxx
parent7c8236efa710372b6e54ba12934b075f718e0e15 (diff)
downloadCMake-d6b394edcb58752cfa3d2a34a81f558676781304.zip
CMake-d6b394edcb58752cfa3d2a34a81f558676781304.tar.gz
CMake-d6b394edcb58752cfa3d2a34a81f558676781304.tar.bz2
cmComputeLinkDepends: Port result API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r--Source/cmComputeLinkDepends.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 7d20827..4d7b01e 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -982,6 +982,7 @@ void cmComputeLinkDepends::CheckWrongConfigItem(cmLinkItem const& item)
// directories.
if(item.Target && !item.Target->IsImported())
{
- this->OldWrongConfigItems.insert(item.Target);
+ this->OldWrongConfigItems.insert(
+ this->GlobalGenerator->GetGeneratorTarget(item.Target));
}
}