mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Port to static cmPolicies API.
This commit is contained in:
@@ -104,8 +104,7 @@ bool cmIncludeCommand
|
||||
switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0024))
|
||||
{
|
||||
case cmPolicies::WARN:
|
||||
e << (this->Makefile->GetPolicies()
|
||||
->GetPolicyWarning(cmPolicies::CMP0024)) << "\n";
|
||||
e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0024) << "\n";
|
||||
modal = "should";
|
||||
case cmPolicies::OLD:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user