diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-12 17:32:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-12 21:10:44 (GMT) |
commit | 0ee3ccb3b0a25264e8302a150eee297dd40affde (patch) | |
tree | 23493474bc5283b1dcb82bca662c26345a798ad1 | |
parent | 57dd094eded03a94402b6eecf7027325bd7b5136 (diff) | |
download | CMake-0ee3ccb3b0a25264e8302a150eee297dd40affde.zip CMake-0ee3ccb3b0a25264e8302a150eee297dd40affde.tar.gz CMake-0ee3ccb3b0a25264e8302a150eee297dd40affde.tar.bz2 |
cmake: Fix variable name bugs.
-rw-r--r-- | Source/cmake.cxx | 4 | ||||
-rw-r--r-- | Source/cmake.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 1d067a5..f182ad2 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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); } diff --git a/Source/cmake.h b/Source/cmake.h index c436c77..26ee8fe 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -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 |