summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.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/cmInstallCommand.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/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index c6f4064..8ef6441 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -712,7 +712,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
std::ostringstream e;
e << "INSTALL TARGETS - target " << target.GetName() << " has "
<< "RESOURCE files but no RESOURCE DESTINATION.";
- cmSystemTools::Message(e.str().c_str(), "Warning");
+ cmSystemTools::Message(e.str(), "Warning");
}
}
}