|
|
@@ -173,7 +173,7 @@ void cmExportCMakeConfigGenerator::GeneratePolicyHeaderCode(std::ostream& os)
|
|
|
// Isolate the file policy level.
|
|
|
// Support CMake versions as far back as the
|
|
|
// RequiredCMakeVersion{Major,Minor,Patch}, but also support using NEW
|
|
|
- // policy settings for up to CMake 3.31 (this upper limit may be reviewed
|
|
|
+ // policy settings for up to CMake 4.0 (this upper limit may be reviewed
|
|
|
// and increased from time to time). This reduces the opportunity for CMake
|
|
|
// warnings when an older export file is later used with newer CMake
|
|
|
// versions.
|
|
|
@@ -182,7 +182,7 @@ void cmExportCMakeConfigGenerator::GeneratePolicyHeaderCode(std::ostream& os)
|
|
|
"cmake_policy(VERSION "
|
|
|
<< this->RequiredCMakeVersionMajor << '.'
|
|
|
<< this->RequiredCMakeVersionMinor << '.'
|
|
|
- << this->RequiredCMakeVersionPatch << "...3.31)\n";
|
|
|
+ << this->RequiredCMakeVersionPatch << "...4.0)\n";
|
|
|
/* clang-format on */
|
|
|
}
|
|
|
|