summaryrefslogtreecommitdiff
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-22 09:16:42 -0400
committerBrad King <brad.king@kitware.com>2019-05-22 10:51:06 -0400
commite884b1b69365e9dc15fff572a6ff2237c1bb7644 (patch)
treebad78de74a06120f8bcaa6e5966f38f1a5e6e180 /Source/cmCPluginAPI.cxx
parent01b6a2c4ee8930e60459b46b4d751148ce28d5a9 (diff)
downloadcmake-e884b1b69365e9dc15fff572a6ff2237c1bb7644.tar.gz
cmSystemTools::Error(): remove const char* overload
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 5efc7842a8..255a8e62a5 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -167,8 +167,8 @@ void CCONV cmAddLinkDirectoryForTarget(void* arg, const char* tgt,
cmTarget* t = mf->FindLocalNonAliasTarget(tgt);
if (!t) {
cmSystemTools::Error(
- "Attempt to add link directories to non-existent target: ", tgt,
- " for directory ", d);
+ "Attempt to add link directories to non-existent target: " +
+ std::string(tgt) + " for directory " + std::string(d));
return;
}
t->InsertLinkDirectory(d, mf->GetBacktrace());