summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 13:51:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-17 15:30:38 (GMT)
commitcfb2f7508af637c9c35758fbd5dac6c8cb679bdb (patch)
tree0673c4a5fdbe20c4d19a1675dd5274e4395b1e0e /Source/cmNinjaUtilityTargetGenerator.cxx
parentb857f0d84b539056bc6a810161eb22e9b9baca43 (diff)
downloadCMake-cfb2f7508af637c9c35758fbd5dac6c8cb679bdb.zip
CMake-cfb2f7508af637c9c35758fbd5dac6c8cb679bdb.tar.gz
CMake-cfb2f7508af637c9c35758fbd5dac6c8cb679bdb.tar.bz2
Use cmGeneratorTarget for property access.
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 9feb7ac..5bbe268 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -90,7 +90,8 @@ void cmNinjaUtilityTargetGenerator::Generate()
} else {
std::string command =
this->GetLocalGenerator()->BuildCommandLine(commands);
- const char *echoStr = this->GetTarget()->GetProperty("EchoString");
+ const char *echoStr =
+ this->GetGeneratorTarget()->GetProperty("EchoString");
std::string desc;
if (echoStr)
desc = echoStr;