Port to static cmPolicies API.

This commit is contained in:
Stephen Kelly
2015-05-03 10:12:10 +02:00
parent 13981f2068
commit de21168612
26 changed files with 83 additions and 157 deletions
+1 -2
View File
@@ -216,8 +216,7 @@ bool cmProjectCommand
if(!vw.empty())
{
std::ostringstream w;
w << (this->Makefile->GetPolicies()
->GetPolicyWarning(cmPolicies::CMP0048))
w << cmPolicies::GetPolicyWarning(cmPolicies::CMP0048)
<< "\nThe following variable(s) would be set to empty:" << vw;
this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
}