summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 11:45:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-18 11:45:43 (GMT)
commit357342602db67e456e9afc9697328d490ab0fc41 (patch)
tree3eed358cdd9c351ad702eb5b2c788943b162d54d
parente7fbd489e0da88e2fd70aa039da4f4173ee24028 (diff)
downloadCMake-357342602db67e456e9afc9697328d490ab0fc41.zip
CMake-357342602db67e456e9afc9697328d490ab0fc41.tar.gz
CMake-357342602db67e456e9afc9697328d490ab0fc41.tar.bz2
cmMakefile: Inline only use of GetLinkDirectories.
-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 94c77e1..1dc0bb7 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 82a2279..154e099 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;