summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 17:19:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 09:03:48 (GMT)
commit3e428fdcb4640411f8cbc4adc42c30b9c8b8032e (patch)
tree17340538688948d3a8057daaac73672f761296d3 /Source/cmComputeLinkInformation.cxx
parent110fd2fba1cbd6c3d89f5460d3f58a94d52d4546 (diff)
downloadCMake-3e428fdcb4640411f8cbc4adc42c30b9c8b8032e.zip
CMake-3e428fdcb4640411f8cbc4adc42c30b9c8b8032e.tar.gz
CMake-3e428fdcb4640411f8cbc4adc42c30b9c8b8032e.tar.bz2
cmGeneratorTarget: Move IsImportedSharedLibWithoutSOName from cmTarget.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index b8e2284..9371546 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1101,9 +1101,10 @@ void cmComputeLinkInformation::AddTargetItem(std::string const& item,
this->SharedLibrariesLinked.insert(target);
}
+ cmGeneratorTarget *gtgt = this->GlobalGenerator->GetGeneratorTarget(target);
// Handle case of an imported shared library with no soname.
if(this->NoSONameUsesPath &&
- target->IsImportedSharedLibWithoutSOName(this->Config))
+ gtgt->IsImportedSharedLibWithoutSOName(this->Config))
{
this->AddSharedLibNoSOName(item);
return;