summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-19 13:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-19 12:55:03 (GMT)
commitef408dd232812c938d18dadb6e2440050a5db91b (patch)
tree7263ccd2fe0425ba495cfa893a787c70e5fba82e /Source/cmMakefileTargetGenerator.cxx
parent60db3af147e03e6073ecd6c5729d627d4af66a67 (diff)
downloadCMake-ef408dd232812c938d18dadb6e2440050a5db91b.zip
CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.gz
CMake-ef408dd232812c938d18dadb6e2440050a5db91b.tar.bz2
cmState::GetTargetTypeName: return type is *cmProp
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 451f19e..f95d233 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -639,7 +639,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(
cmRulePlaceholderExpander::RuleVariables vars;
vars.CMTargetName = this->GeneratorTarget->GetName().c_str();
vars.CMTargetType =
- cmState::GetTargetTypeName(this->GeneratorTarget->GetType());
+ cmState::GetTargetTypeName(this->GeneratorTarget->GetType()).c_str();
vars.Language = lang.c_str();
vars.Target = targetOutPathReal.c_str();
vars.TargetPDB = targetOutPathPDB.c_str();