|
|
@@ -261,7 +261,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile* mf, unsigned int majorVer,
|
|
|
{
|
|
|
// Warn about policy versions for which support will be removed.
|
|
|
if (warnCompat == WarnCompat::On &&
|
|
|
- (majorVer < 3 || (majorVer == 3 && minorVer < 5)) &&
|
|
|
+ (majorVer < 3 || (majorVer == 3 && minorVer < 10)) &&
|
|
|
// Avoid warning on calls generated by install(EXPORT)
|
|
|
// in CMake versions prior to 3.18.
|
|
|
!(majorVer == 2 && minorVer == 6 && patchVer == 0 &&
|
|
|
@@ -270,7 +270,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile* mf, unsigned int majorVer,
|
|
|
"cmake_policy") == 0)) {
|
|
|
mf->IssueMessage(
|
|
|
MessageType::DEPRECATION_WARNING,
|
|
|
- "Compatibility with CMake < 3.5 will be removed from "
|
|
|
+ "Compatibility with CMake < 3.10 will be removed from "
|
|
|
"a future version of CMake.\n"
|
|
|
"Update the VERSION argument <min> value or use a ...<max> suffix "
|
|
|
"to tell CMake that the project does not need compatibility with "
|