summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-25 13:25:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-03-25 13:25:26 (GMT)
commit952fbd9ee5b40ddda1a9c4e25a2bc164d138a47a (patch)
treebb4618b61b23831e796a94b90f00148768cb158c /Source/cmMakefileLibraryTargetGenerator.cxx
parentd13d5c11cf8b5878c5e63b067e73a2175f01d93f (diff)
parentef408dd232812c938d18dadb6e2440050a5db91b (diff)
downloadCMake-952fbd9ee5b40ddda1a9c4e25a2bc164d138a47a.zip
CMake-952fbd9ee5b40ddda1a9c4e25a2bc164d138a47a.tar.gz
CMake-952fbd9ee5b40ddda1a9c4e25a2bc164d138a47a.tar.bz2
Merge topic 'cmprop-state'
ef408dd232 cmState::GetTargetTypeName: return type is *cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4505
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index d3f3a4f..4434f1d 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -756,7 +756,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
vars.CMTargetName = this->GeneratorTarget->GetName().c_str();
vars.CMTargetType =
- cmState::GetTargetTypeName(this->GeneratorTarget->GetType());
+ cmState::GetTargetTypeName(this->GeneratorTarget->GetType()).c_str();
vars.Language = linkLanguage.c_str();
vars.AIXExports = aixExports.c_str();
vars.Objects = buildObjs.c_str();