summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chehovsky <madfishtheone@gmail.com>2013-02-16 13:23:20 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-18 13:47:10 (GMT)
commit0816caecac5b9e4b93ce17301e0aad2c7a9845e8 (patch)
tree9e31c6d60bf2045af075712eec8ff827e96e3f46
parent0ad58af4445e8c3ccf1ac987698b7ec50e25020c (diff)
downloadCMake-0816caecac5b9e4b93ce17301e0aad2c7a9845e8.zip
CMake-0816caecac5b9e4b93ce17301e0aad2c7a9845e8.tar.gz
CMake-0816caecac5b9e4b93ce17301e0aad2c7a9845e8.tar.bz2
Xcode: Fix nested source group handling (#12943)
Teach the code path for nested sources build the group map key in the same way as non-nested code path does.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 9600771..cca5931 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2914,7 +2914,7 @@ cmXCodeObject* cmGlobalXCodeGenerator
{
std::vector<std::string> folders =
cmSystemTools::tokenize(sg->GetFullName(), "\\");
- cmStdString curr_folder = cmtarget.GetName();
+ cmStdString curr_folder = target;
curr_folder += "/";
for(std::vector<std::string>::size_type i = 0; i < folders.size();i++)
{