summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-07 18:13:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-07 18:13:36 (GMT)
commitd9b5f0a301c23c2c0e56ad3fcb696de71c3d6365 (patch)
treeae661ec00676dba7937b2b2b279036f3b27e50fd /Source/cmMakefile.cxx
parent1c70c6cc09f0f8be087db2aeae5ee6a3f1b47bda (diff)
downloadCMake-d9b5f0a301c23c2c0e56ad3fcb696de71c3d6365.zip
CMake-d9b5f0a301c23c2c0e56ad3fcb696de71c3d6365.tar.gz
CMake-d9b5f0a301c23c2c0e56ad3fcb696de71c3d6365.tar.bz2
cmTarget: Remove target name from parameter list
Use the member state instead.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ae2d776..4763d83 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1242,7 +1242,7 @@ void cmMakefile::AddLinkLibraryForTarget(const std::string& target,
<< "to executables with the ENABLE_EXPORTS property set.";
this->IssueMessage(cmake::FATAL_ERROR, e.str());
}
- t->AddLinkLibrary(*this, target, lib, llt);
+ t->AddLinkLibrary(*this, lib, llt);
}
void cmMakefile::InitializeFromParent(cmMakefile* parent)
@@ -1808,7 +1808,7 @@ void cmMakefile::SetProjectName(std::string const& p)
this->StateSnapshot.SetProjectName(p);
}
-void cmMakefile::AddGlobalLinkInformation(const std::string& name,
+void cmMakefile::AddGlobalLinkInformation(const std::string& /* name */,
cmTarget& target)
{
// for these targets do not add anything
@@ -1838,7 +1838,7 @@ void cmMakefile::AddGlobalLinkInformation(const std::string& name,
this->LinkLibraries.begin();
for (; i != this->LinkLibraries.end(); ++i) {
// This is equivalent to the target_link_libraries plain signature.
- target.AddLinkLibrary(*this, name, i->first, i->second);
+ target.AddLinkLibrary(*this, i->first, i->second);
target.AppendProperty(
"INTERFACE_LINK_LIBRARIES",
target.GetDebugGeneratorExpressions(i->first, i->second).c_str());