cmPolicies: Implement in terms of public API.
This commit is contained in:
parent
e3a8c0291e
commit
8c204133e5
|
@ -588,7 +588,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf,
|
||||||
{
|
{
|
||||||
if (isPolicyNewerThan(i->first, majorVer, minorVer, patchVer))
|
if (isPolicyNewerThan(i->first, majorVer, minorVer, patchVer))
|
||||||
{
|
{
|
||||||
if(i->second->Status == cmPolicies::REQUIRED_ALWAYS)
|
if(this->GetPolicyStatus(i->first) == cmPolicies::REQUIRED_ALWAYS)
|
||||||
{
|
{
|
||||||
ancientPolicies.push_back(i->first);
|
ancientPolicies.push_back(i->first);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue