cmMakefile: Inline only use of GetLinkDirectories.

This commit is contained in:
Stephen Kelly 2015-07-18 13:45:43 +02:00
parent e7fbd489e0
commit 357342602d
2 changed files with 1 additions and 5 deletions

View File

@ -4302,7 +4302,7 @@ const char *cmMakefile::GetProperty(const std::string& prop,
}
else if (prop == "LINK_DIRECTORIES")
{
output = cmJoin(this->GetLinkDirectories(), ";");
output = cmJoin(this->LinkDirectories, ";");
return output.c_str();
}
else if (prop == "INCLUDE_DIRECTORIES")

View File

@ -233,10 +233,6 @@ public:
*/
void AddLinkDirectory(const std::string&);
const std::vector<std::string>& GetLinkDirectories() const
{
return this->LinkDirectories;
}
void SetLinkDirectories(const std::vector<std::string>& vec)
{
this->LinkDirectories = vec;