diff options
author | vvs31415 <vvs31415@users.noreply.github.com> | 2020-11-02 14:00:00 (GMT) |
---|---|---|
committer | vvs31415 <vvs31415@users.noreply.github.com> | 2020-11-02 18:07:46 (GMT) |
commit | f808f27919fe4392f2bb6e0e85b679f330312e2b (patch) | |
tree | c3d07580a50779f018926d9c41e8e7b8797e8e36 /Source/cmNinjaTargetGenerator.cxx | |
parent | 91e826fd75890f848c2316f8832f83238dbee59c (diff) | |
download | CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.zip CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.gz CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.bz2 |
cmLocalGenerator::GetRuleLauncher: return cmProp
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 04d84a0..0566949 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -664,10 +664,10 @@ void cmNinjaTargetGenerator::WriteCompileRule(const std::string& lang, cmLocalGenerator::SHELL); std::string launcher; - const char* val = this->GetLocalGenerator()->GetRuleLauncher( + cmProp val = this->GetLocalGenerator()->GetRuleLauncher( this->GetGeneratorTarget(), "RULE_LAUNCH_COMPILE"); if (cmNonempty(val)) { - launcher = cmStrCat(val, ' '); + launcher = cmStrCat(*val, ' '); } std::string const cmakeCmd = |