summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-25 13:00:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-25 13:02:07 (GMT)
commit94970cd042963bedd4594d867802880b13fa9f69 (patch)
treed5e73d5905f0148b10c86649293a9c85f3b6830d /Source/cmNinjaNormalTargetGenerator.cxx
parentac419931eed3e62cc69762a2a8b8dd76192999c0 (diff)
parent9dd255548d0a82994da71c3667f3b6668de50ffd (diff)
downloadCMake-94970cd042963bedd4594d867802880b13fa9f69.zip
CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.gz
CMake-94970cd042963bedd4594d867802880b13fa9f69.tar.bz2
Merge topic 'error-consolidate'
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2995
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 9def1f4..b38d410 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -68,8 +68,8 @@ void cmNinjaNormalTargetGenerator::Generate()
{
if (this->TargetLinkLanguage.empty()) {
cmSystemTools::Error("CMake can not determine linker language for "
- "target: ",
- this->GetGeneratorTarget()->GetName().c_str());
+ "target: " +
+ this->GetGeneratorTarget()->GetName());
return;
}