summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 21:43:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:45:51 (GMT)
commitdb4cb92bda8b43c3d66d27533622bb802e823589 (patch)
tree4d539c364581b8299becd9b7c0f7dd97713f0197 /Source/cmGhsMultiTargetGenerator.cxx
parente6ccbf6f30fb7b893b00a7c26fa165065eed4323 (diff)
downloadCMake-db4cb92bda8b43c3d66d27533622bb802e823589.zip
CMake-db4cb92bda8b43c3d66d27533622bb802e823589.tar.gz
CMake-db4cb92bda8b43c3d66d27533622bb802e823589.tar.bz2
cmGeneratorTarget: Move compile options processing from cmTarget.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r--Source/cmGhsMultiTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.cxx b/Source/cmGhsMultiTargetGenerator.cxx
index 7af17cd..790e68b 100644
--- a/Source/cmGhsMultiTargetGenerator.cxx
+++ b/Source/cmGhsMultiTargetGenerator.cxx
@@ -558,7 +558,7 @@ bool cmGhsMultiTargetGenerator::IsNotKernel(std::string const &config,
{
bool output;
std::vector<std::string> options;
- this->Target->GetCompileOptions(options, config, language);
+ this->GeneratorTarget->GetCompileOptions(options, config, language);
output =
options.end() == std::find(options.begin(), options.end(), "-kernel");
return output;
@@ -587,7 +587,7 @@ bool cmGhsMultiTargetGenerator::DetermineIfDynamicDownload(
{
std::vector<std::string> options;
bool output = false;
- this->Target->GetCompileOptions(options, config, language);
+ this->GeneratorTarget->GetCompileOptions(options, config, language);
for (std::vector<std::string>::const_iterator options_i = options.begin();
options_i != options.end(); ++options_i)
{