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/cmNinjaNormalTargetGenerator.cxx | |
parent | 91e826fd75890f848c2316f8832f83238dbee59c (diff) | |
download | CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.zip CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.gz CMake-f808f27919fe4392f2bb6e0e85b679f330312e2b.tar.bz2 |
cmLocalGenerator::GetRuleLauncher: return cmProp
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index ccb959b..a5b9466 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -266,10 +266,10 @@ void cmNinjaNormalTargetGenerator::WriteNvidiaDeviceLinkRule( vars.LanguageCompileFlags = "$LANGUAGE_COMPILE_FLAGS"; std::string launcher; - const char* val = this->GetLocalGenerator()->GetRuleLauncher( + cmProp val = this->GetLocalGenerator()->GetRuleLauncher( this->GetGeneratorTarget(), "RULE_LAUNCH_LINK"); if (cmNonempty(val)) { - launcher = cmStrCat(val, ' '); + launcher = cmStrCat(*val, ' '); } std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander( @@ -452,10 +452,10 @@ void cmNinjaNormalTargetGenerator::WriteLinkRule(bool useResponseFile, } std::string launcher; - const char* val = this->GetLocalGenerator()->GetRuleLauncher( + cmProp val = this->GetLocalGenerator()->GetRuleLauncher( this->GetGeneratorTarget(), "RULE_LAUNCH_LINK"); if (cmNonempty(val)) { - launcher = cmStrCat(val, ' '); + launcher = cmStrCat(*val, ' '); } std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander( |