summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-11-05 15:17:49 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-02-22 11:31:50 (GMT)
commit9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183 (patch)
tree26d6a7889a9fcafa83a4d7f8f8d48d37db0bee68 /Source/cmVisualStudio10TargetGenerator.cxx
parent840509babb2d1c8fc5167c4580fef58546c06700 (diff)
downloadCMake-9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183.zip
CMake-9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183.tar.gz
CMake-9106b564ae5bf0bf1c1ff4a3fca484bcfd40e183.tar.bz2
Extract and use the INCLUDE_DIRECTORIES target properties.
Eliminate callers of cmMakefile::GetIncludeDirectories. All callers of GetIncludeDirectories should go through the local generator object. Only the local generator calls cmTarget::GetIncludeDirectories directly.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 9418761..f9148a1 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1586,7 +1586,7 @@ void cmVisualStudio10TargetGenerator::WriteItemDefinitionGroups()
static_cast<cmGlobalVisualStudio7Generator *>
(this->GlobalGenerator)->GetConfigurations();
std::vector<std::string> includes;
- this->LocalGenerator->GetIncludeDirectories(includes);
+ this->LocalGenerator->GetIncludeDirectories(includes, this->Target);
for(std::vector<std::string>::iterator i = configs->begin();
i != configs->end(); ++i)
{