summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 13:40:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-06 13:44:16 (GMT)
commitccbc2259137fe61a770bb0b5538a20bf5e00bc8f (patch)
tree26a637da257293781f249ac6309133b1fae914d7 /Source/cmMakefileTargetGenerator.cxx
parent50a1bd3df13d47167d55fb1584b2c1bc7235884b (diff)
downloadCMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.zip
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.gz
CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.bz2
cmGeneratorTarget: Move Feature API from cmTarget.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 9ac9ddb..b2a10a6 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -2086,13 +2086,13 @@ void cmMakefileTargetGenerator::AddModuleDefinitionFlag(std::string& flags)
//----------------------------------------------------------------------------
const char* cmMakefileTargetGenerator::GetFeature(const std::string& feature)
{
- return this->Target->GetFeature(feature, this->ConfigName);
+ return this->GeneratorTarget->GetFeature(feature, this->ConfigName);
}
//----------------------------------------------------------------------------
bool cmMakefileTargetGenerator::GetFeatureAsBool(const std::string& feature)
{
- return this->Target->GetFeatureAsBool(feature, this->ConfigName);
+ return this->GeneratorTarget->GetFeatureAsBool(feature, this->ConfigName);
}
//----------------------------------------------------------------------------