diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:34:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:32 (GMT) |
commit | f3efa3cd160d9957437168627689720bb953bb2b (patch) | |
tree | 0738950fc9d37532df43f2d6f70a0e70e069ddc4 /Source/cmMakefile.h | |
parent | adcd812917fe37798a3062bfb3a0932e128faec2 (diff) | |
download | CMake-f3efa3cd160d9957437168627689720bb953bb2b.zip CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.gz CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.bz2 |
stringapi: Use strings for cache paths as arguments
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 4019372..4b9c548 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -401,12 +401,12 @@ public: * CMakeLists files by recursing up the tree starting at the StartDirectory * and going up until it reaches the HomeDirectory. */ - void SetHomeDirectory(const char* dir); + void SetHomeDirectory(const std::string& dir); const char* GetHomeDirectory() const { return this->cmHomeDirectory.c_str(); } - void SetHomeOutputDirectory(const char* lib); + void SetHomeOutputDirectory(const std::string& lib); const char* GetHomeOutputDirectory() const { return this->HomeOutputDirectory.c_str(); |