summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.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/cmComputeLinkInformation.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/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index eef93f8..44d8615 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -457,8 +457,8 @@ bool cmComputeLinkInformation::Compute()
// We require a link language for the target.
if (this->LinkLanguage.empty()) {
cmSystemTools::Error(
- "CMake can not determine linker language for target: ",
- this->Target->GetName().c_str());
+ "CMake can not determine linker language for target: " +
+ this->Target->GetName());
return false;
}