summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-28 17:42:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-08-28 17:43:48 (GMT)
commit9da844d8cbbd2c525265a551421dbf126ef328d1 (patch)
tree9fd769530113738b78a66da8a6cf97089543266e /Source/cmGlobalXCodeGenerator.cxx
parent6f7c96fb178a290934b5b91c919ddff143d8b542 (diff)
parent50fbfee3a02e7099a3909d81597f4b8047847ece (diff)
downloadCMake-9da844d8cbbd2c525265a551421dbf126ef328d1.zip
CMake-9da844d8cbbd2c525265a551421dbf126ef328d1.tar.gz
CMake-9da844d8cbbd2c525265a551421dbf126ef328d1.tar.bz2
Merge topic 'lg-directory'
50fbfee3a0 cmLocalGenerator: return directories as const std::string& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2309
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 164ffb0..e1ffe53 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(""));
}