mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
cmake: Fix variable name bugs.
This commit is contained in:
@@ -1112,9 +1112,9 @@ void cmake::SetHomeDirectory(const std::string& dir)
|
||||
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);
|
||||
}
|
||||
|
||||
|
@@ -117,7 +117,7 @@ class cmake
|
||||
{
|
||||
return this->cmHomeDirectory.c_str();
|
||||
}
|
||||
void SetHomeOutputDirectory(const std::string& lib);
|
||||
void SetHomeOutputDirectory(const std::string& dir);
|
||||
const char* GetHomeOutputDirectory() const
|
||||
{
|
||||
return this->HomeOutputDirectory.c_str();
|
||||
@@ -141,9 +141,9 @@ class cmake
|
||||
{
|
||||
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);
|
||||
}
|
||||
const char* GetStartOutputDirectory() const
|
||||
|
Reference in New Issue
Block a user