cmMakefile: Inline only use of GetLinkDirectories.
This commit is contained in:
parent
e7fbd489e0
commit
357342602d
@ -4302,7 +4302,7 @@ const char *cmMakefile::GetProperty(const std::string& prop,
|
|||||||
}
|
}
|
||||||
else if (prop == "LINK_DIRECTORIES")
|
else if (prop == "LINK_DIRECTORIES")
|
||||||
{
|
{
|
||||||
output = cmJoin(this->GetLinkDirectories(), ";");
|
output = cmJoin(this->LinkDirectories, ";");
|
||||||
return output.c_str();
|
return output.c_str();
|
||||||
}
|
}
|
||||||
else if (prop == "INCLUDE_DIRECTORIES")
|
else if (prop == "INCLUDE_DIRECTORIES")
|
||||||
|
@ -233,10 +233,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void AddLinkDirectory(const std::string&);
|
void AddLinkDirectory(const std::string&);
|
||||||
|
|
||||||
const std::vector<std::string>& GetLinkDirectories() const
|
|
||||||
{
|
|
||||||
return this->LinkDirectories;
|
|
||||||
}
|
|
||||||
void SetLinkDirectories(const std::vector<std::string>& vec)
|
void SetLinkDirectories(const std::vector<std::string>& vec)
|
||||||
{
|
{
|
||||||
this->LinkDirectories = vec;
|
this->LinkDirectories = vec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user