diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 73911a5..abdd767 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2044,12 +2044,12 @@ void cmMakefile::RemoveCacheDefinition(const std::string& name) this->GetState()->RemoveCacheEntry(name); } -void cmMakefile::SetProjectName(const char* p) +void cmMakefile::SetProjectName(std::string const& p) { this->ProjectName = p; } -const char* cmMakefile::GetProjectName() const +std::string cmMakefile::GetProjectName() const { return this->ProjectName.c_str(); } |