summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-16 08:03:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:32:09 (GMT)
commit290e92ada86c5b74669be48ee901494ae8e48ee3 (patch)
tree7325c7513406bd1258892a5bfa0b5cbb69b079a1 /Source/cmLocalGenerator.cxx
parentf9146f6b90d381a70bdb6a3c97742e3a53bb6235 (diff)
downloadCMake-290e92ada86c5b74669be48ee901494ae8e48ee3.zip
CMake-290e92ada86c5b74669be48ee901494ae8e48ee3.tar.gz
CMake-290e92ada86c5b74669be48ee901494ae8e48ee3.tar.bz2
Move GetIncludeDirectories to cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index c6dfed8..662f876 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -577,7 +577,7 @@ void cmLocalGenerator::AddCustomCommandToCreateObject(const char* ofname,
flags += " ";
{
std::vector<std::string> includes;
- this->GetIncludeDirectories(includes, target.Target, lang);
+ this->GetIncludeDirectories(includes, &target, lang);
flags += this->GetIncludeFlags(includes, lang);
}
flags += this->Makefile->GetDefineFlags();
@@ -1320,7 +1320,7 @@ std::string cmLocalGenerator::GetIncludeFlags(
//----------------------------------------------------------------------------
void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
- cmTarget* target,
+ cmGeneratorTarget* target,
const char* lang)
{
// Need to decide whether to automatically include the source and