1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 12:16:40 +08:00

cmPolicies: Implement in terms of public API.

This commit is contained in:
Stephen Kelly
2015-05-03 10:25:14 +02:00
parent e3a8c0291e
commit 8c204133e5

View File

@@ -588,7 +588,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf,
{
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);
}