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)
commit1efca9f427a5c537afc034aadf0c29073bfdfa22 (patch)
treedb72dbb80b5667f689b6b5a66c9beebef44e5365 /Source/cmMakefile.cxx
parentd9b5f0a301c23c2c0e56ad3fcb696de71c3d6365 (diff)
downloadCMake-1efca9f427a5c537afc034aadf0c29073bfdfa22.zip
CMake-1efca9f427a5c537afc034aadf0c29073bfdfa22.tar.gz
CMake-1efca9f427a5c537afc034aadf0c29073bfdfa22.tar.bz2
cmMakefile: Remove obsolete parameter
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 4763d83..eda08c0 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1808,8 +1808,7 @@ void cmMakefile::SetProjectName(std::string const& p)
this->StateSnapshot.SetProjectName(p);
}
-void cmMakefile::AddGlobalLinkInformation(const std::string& /* name */,
- cmTarget& target)
+void cmMakefile::AddGlobalLinkInformation(cmTarget& target)
{
// for these targets do not add anything
switch (target.GetType()) {
@@ -1874,7 +1873,7 @@ cmTarget* cmMakefile::AddLibrary(const std::string& lname,
target->SetProperty("EXCLUDE_FROM_ALL", "TRUE");
}
target->AddSources(srcs);
- this->AddGlobalLinkInformation(lname, *target);
+ this->AddGlobalLinkInformation(*target);
return target;
}
@@ -1887,7 +1886,7 @@ cmTarget* cmMakefile::AddExecutable(const char* exeName,
target->SetProperty("EXCLUDE_FROM_ALL", "TRUE");
}
target->AddSources(srcs);
- this->AddGlobalLinkInformation(exeName, *target);
+ this->AddGlobalLinkInformation(*target);
return target;
}