summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 13:45:43 +0200
committerStephen Kelly <steveire@gmail.com>2015-07-18 13:45:43 +0200
commit357342602db67e456e9afc9697328d490ab0fc41 (patch)
tree3eed358cdd9c351ad702eb5b2c788943b162d54d /Source
parente7fbd489e0da88e2fd70aa039da4f4173ee24028 (diff)
downloadcmake-357342602db67e456e9afc9697328d490ab0fc41.tar.gz
cmMakefile: Inline only use of GetLinkDirectories.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx2
-rw-r--r--Source/cmMakefile.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 94c77e13eb..1dc0bb723b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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")
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 82a2279402..154e099384 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -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;