summaryrefslogtreecommitdiff
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 00:00:53 +0200
committerStephen Kelly <steveire@gmail.com>2015-08-26 19:46:30 +0200
commita7f5d70dde50ac74726f3c23d276d2fdac70d659 (patch)
treee86e669efe22d739a037f2d7a2cf56ef295456b0 /Source/cmExtraCodeBlocksGenerator.cxx
parentd051086ccec5cd4b381cf47afb0e7fe962ed4c0b (diff)
downloadcmake-a7f5d70dde50ac74726f3c23d276d2fdac70d659.tar.gz
cmGeneratorTarget: Move compile defintions processing from cmTarget.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index 933a256aff..dfd51c7549 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -609,7 +609,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(cmGeneratedFileStream& fout,
// the compilerdefines for this target
std::vector<std::string> cdefs;
- target->GetCompileDefinitions(cdefs, buildType, "C");
+ gtgt->GetCompileDefinitions(cdefs, buildType, "C");
// Expand the list.
for(std::vector<std::string>::const_iterator di = cdefs.begin();