diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-19 13:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-19 12:55:03 (GMT) |
commit | ef408dd232812c938d18dadb6e2440050a5db91b (patch) | |
tree | 7263ccd2fe0425ba495cfa893a787c70e5fba82e /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 60db3af147e03e6073ecd6c5729d627d4af66a67 (diff) | |
download | CMake-ef408dd232812c938d18dadb6e2440050a5db91b.zip CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.gz CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.bz2 |
cmState::GetTargetTypeName: return type is *cmProp
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 63c6680..53bd1d5 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -974,7 +974,8 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand( // Expand rule variables referenced in the given launcher command. cmRulePlaceholderExpander::RuleVariables vars; vars.CMTargetName = target->GetName().c_str(); - vars.CMTargetType = cmState::GetTargetTypeName(target->GetType()); + vars.CMTargetType = + cmState::GetTargetTypeName(target->GetType()).c_str(); std::string output; const std::vector<std::string>& outputs = ccg.GetOutputs(); if (!outputs.empty()) { |