cmake: Fix variable name bugs.

This commit is contained in:
Stephen Kelly 2015-04-12 19:32:48 +02:00
parent 57dd094ede
commit 0ee3ccb3b0
2 changed files with 5 additions and 5 deletions

View File

@ -1112,9 +1112,9 @@ void cmake::SetHomeDirectory(const std::string& dir)
cmSystemTools::ConvertToUnixSlashes(this->cmHomeDirectory); cmSystemTools::ConvertToUnixSlashes(this->cmHomeDirectory);
} }
void cmake::SetHomeOutputDirectory(const std::string& lib) void cmake::SetHomeOutputDirectory(const std::string& dir)
{ {
this->HomeOutputDirectory = lib; this->HomeOutputDirectory = dir;
cmSystemTools::ConvertToUnixSlashes(this->HomeOutputDirectory); cmSystemTools::ConvertToUnixSlashes(this->HomeOutputDirectory);
} }

View File

@ -117,7 +117,7 @@ class cmake
{ {
return this->cmHomeDirectory.c_str(); return this->cmHomeDirectory.c_str();
} }
void SetHomeOutputDirectory(const std::string& lib); void SetHomeOutputDirectory(const std::string& dir);
const char* GetHomeOutputDirectory() const const char* GetHomeOutputDirectory() const
{ {
return this->HomeOutputDirectory.c_str(); return this->HomeOutputDirectory.c_str();
@ -141,9 +141,9 @@ class cmake
{ {
return this->cmStartDirectory.c_str(); return this->cmStartDirectory.c_str();
} }
void SetStartOutputDirectory(const std::string& lib) void SetStartOutputDirectory(const std::string& dir)
{ {
this->StartOutputDirectory = lib; this->StartOutputDirectory = dir;
cmSystemTools::ConvertToUnixSlashes(this->StartOutputDirectory); cmSystemTools::ConvertToUnixSlashes(this->StartOutputDirectory);
} }
const char* GetStartOutputDirectory() const const char* GetStartOutputDirectory() const