summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-24 13:43:35 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-27 19:48:57 (GMT)
commit50fbfee3a02e7099a3909d81597f4b8047847ece (patch)
treec8f6053448e3428b1d9f32c0c1141c41cd1d9f59 /Source/cmGlobalXCodeGenerator.cxx
parente33c6c357b61ed0cc5b9f7c01e4ea04deca26b39 (diff)
downloadCMake-50fbfee3a02e7099a3909d81597f4b8047847ece.zip
CMake-50fbfee3a02e7099a3909d81597f4b8047847ece.tar.gz
CMake-50fbfee3a02e7099a3909d81597f4b8047847ece.tar.bz2
cmLocalGenerator: return directories as const std::string&
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 042ce41..5909ccc 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -3040,7 +3040,7 @@ bool cmGlobalXCodeGenerator::CreateXCodeObjects(
// Point Xcode at the top of the source tree.
{
std::string pdir =
- this->RelativeToBinary(root->GetCurrentSourceDirectory());
+ this->RelativeToBinary(root->GetCurrentSourceDirectory().c_str());
this->RootObject->AddAttribute("projectDirPath", this->CreateString(pdir));
this->RootObject->AddAttribute("projectRoot", this->CreateString(""));
}