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/cmLocalUnixMakefileGenerator3.cxx | |
parent | 91e826fd75890f848c2316f8832f83238dbee59c (diff) | |
download | CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.zip CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.gz CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.bz2 |
cmLocalGenerator::GetRuleLauncher: return cmProp
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index c877cf8..dd27084 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -960,7 +960,7 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand( std::string launcher; // Short-circuit if there is no launcher. - const char* val = this->GetRuleLauncher(target, "RULE_LAUNCH_CUSTOM"); + cmProp val = this->GetRuleLauncher(target, "RULE_LAUNCH_CUSTOM"); if (cmNonempty(val)) { // Expand rule variables referenced in the given launcher command. cmRulePlaceholderExpander::RuleVariables vars; @@ -980,7 +980,7 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand( } vars.Output = output.c_str(); - launcher = val; + launcher = *val; rulePlaceholderExpander->ExpandRuleVariables(this, launcher, vars); if (!launcher.empty()) { launcher += " "; |