summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:35:51 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:35:51 (GMT)
commit186d9b083db0e3fc77d9d92821e3cf45e06271da (patch)
tree0959f75743422467ab83bc128aeaa7003ac780ac /Source/cmGlobalGenerator.cxx
parent1593e16d881bf74fd8981e1290d20f28191f1f0e (diff)
downloadCMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.zip
CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.gz
CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.bz2
cmSystemTools::Message: Add overload accepting std::string
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 04af013..58d0971 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1060,7 +1060,7 @@ void cmGlobalGenerator::SetLanguageEnabledMaps(const std::string& l,
if (preference < 0) {
std::string msg = linkerPrefVar;
msg += " is negative, adjusting it to 0";
- cmSystemTools::Message(msg.c_str(), "Warning");
+ cmSystemTools::Message(msg, "Warning");
preference = 0;
}