mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 00:02:21 +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 (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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user