diff options
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
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; |