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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user