diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:24:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:35 (GMT) |
commit | f0ad6631adb7cd364e2bcf5e8738c697c902e0ad (patch) | |
tree | b1c2cfe5449bcb78cb6aad65ce685b6e331682da /Source/cmake.cxx | |
parent | 270eb96df05b93023cdd3d3a186b44b4ece1d655 (diff) | |
download | CMake-f0ad6631adb7cd364e2bcf5e8738c697c902e0ad.zip CMake-f0ad6631adb7cd364e2bcf5e8738c697c902e0ad.tar.gz CMake-f0ad6631adb7cd364e2bcf5e8738c697c902e0ad.tar.bz2 |
Directories: Take strings when setting directories
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bdba9c2..5ada30e 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1069,13 +1069,13 @@ cmGlobalGenerator* cmake::CreateGlobalGenerator(const char* name) return generator; } -void cmake::SetHomeDirectory(const char* dir) +void cmake::SetHomeDirectory(const std::string& dir) { this->cmHomeDirectory = dir; cmSystemTools::ConvertToUnixSlashes(this->cmHomeDirectory); } -void cmake::SetHomeOutputDirectory(const char* lib) +void cmake::SetHomeOutputDirectory(const std::string& lib) { this->HomeOutputDirectory = lib; cmSystemTools::ConvertToUnixSlashes(this->HomeOutputDirectory); |