diff options
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r-- | Source/cmPolicies.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 95bf972..ea8726e 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -497,7 +497,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf, } // it is an error if the policy version is less than 2.4 - if (majorVer < 2 || majorVer == 2 && minorVer < 4) + if (majorVer < 2 || (majorVer == 2 && minorVer < 4)) { mf->IssueMessage(cmake::FATAL_ERROR, "An attempt was made to set the policy version of CMake to something " |