summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-20 14:54:25 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-20 14:54:25 (GMT)
commit3fa4a95f563feee42a2ffdfae5a972ddd864066e (patch)
treed9ca99f4dd1f408892b97717929cd6351adea49e /Source/cmGlobalXCodeGenerator.cxx
parente16c8d70d094c139234429d36c271bc375da288b (diff)
downloadCMake-3fa4a95f563feee42a2ffdfae5a972ddd864066e.zip
CMake-3fa4a95f563feee42a2ffdfae5a972ddd864066e.tar.gz
CMake-3fa4a95f563feee42a2ffdfae5a972ddd864066e.tar.bz2
BUG: Xcode generator should use local generator computation of include directories.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 95be32a..b4637b4 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1211,8 +1211,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
}
std::string dirs;
- std::vector<std::string>& includes =
- m_CurrentMakefile->GetIncludeDirectories();
+ std::vector<std::string> includes;
+ m_CurrentLocalGenerator->GetIncludeDirectories(includes);
std::vector<std::string>::iterator i = includes.begin();
std::string fdirs;
std::set<cmStdString> emitted;