cmMakefile: Fix wrong parameter names.
This commit is contained in:
parent
f438cd3731
commit
3a68c323ba
|
@ -3408,9 +3408,9 @@ const char* cmMakefile::GetHomeOutputDirectory() const
|
|||
return this->HomeOutputDirectory.c_str();
|
||||
}
|
||||
|
||||
void cmMakefile::SetHomeOutputDirectory(const std::string& lib)
|
||||
void cmMakefile::SetHomeOutputDirectory(const std::string& dir)
|
||||
{
|
||||
this->HomeOutputDirectory = lib;
|
||||
this->HomeOutputDirectory = dir;
|
||||
cmSystemTools::ConvertToUnixSlashes(this->HomeOutputDirectory);
|
||||
this->AddDefinition("CMAKE_BINARY_DIR", this->GetHomeOutputDirectory());
|
||||
if ( !this->GetDefinition("CMAKE_CURRENT_BINARY_DIR") )
|
||||
|
|
|
@ -441,7 +441,7 @@ public:
|
|||
*/
|
||||
void SetHomeDirectory(const std::string& dir);
|
||||
const char* GetHomeDirectory() const;
|
||||
void SetHomeOutputDirectory(const std::string& lib);
|
||||
void SetHomeOutputDirectory(const std::string& dir);
|
||||
const char* GetHomeOutputDirectory() const;
|
||||
//@}
|
||||
|
||||
|
@ -476,9 +476,9 @@ public:
|
|||
{
|
||||
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);
|
||||
this->StartOutputDirectory =
|
||||
cmSystemTools::CollapseFullPath(this->StartOutputDirectory);
|
||||
|
|
Loading…
Reference in New Issue