cmSystemTools::Message: Add overload accepting std::string

This commit is contained in:
Vitaly Stakhovsky
2019-01-28 09:35:51 -05:00
parent 1593e16d88
commit 186d9b083d
18 changed files with 30 additions and 26 deletions

View File

@@ -40,7 +40,7 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string> const& args,
msg += ". If your intention is to run this executable, you need to "
"preload the cache with the full path to a version of that "
"program, which runs on this build machine.";
cmSystemTools::Message(msg.c_str(), "Warning");
cmSystemTools::Message(msg, "Warning");
}
} else {
cmState* state = this->Makefile->GetState();