summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:24:15 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:35 (GMT)
commitf0ad6631adb7cd364e2bcf5e8738c697c902e0ad (patch)
treeb1c2cfe5449bcb78cb6aad65ce685b6e331682da /Source/cmake.cxx
parent270eb96df05b93023cdd3d3a186b44b4ece1d655 (diff)
downloadCMake-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.cxx4
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);