diff options
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index d265cab..5e6ce1a 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2524,12 +2524,12 @@ std::string const& cmLocalGenerator::GetBinaryDirectory() const const char* cmLocalGenerator::GetCurrentBinaryDirectory() const { - return this->StateSnapshot.GetDirectory().GetCurrentBinary(); + return this->StateSnapshot.GetDirectory().GetCurrentBinary().c_str(); } const char* cmLocalGenerator::GetCurrentSourceDirectory() const { - return this->StateSnapshot.GetDirectory().GetCurrentSource(); + return this->StateSnapshot.GetDirectory().GetCurrentSource().c_str(); } std::string cmLocalGenerator::GetTargetDirectory( |