mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
3a4791548d
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 3.5.
Note that the effective policy version includes `...<max>` treatment.
Update the check from commit 5845c218d7 (Deprecate compatibility with
CMake versions older than 2.8.12, 2020-06-12, v3.19.0-rc1~629^2).
10 lines
427 B
Plaintext
10 lines
427 B
Plaintext
^CMake Deprecation Warning at [^
|
|
]*/Tests/RunCMake/ctest_build/BuildFailure-CMP0061-OLD/test\.cmake:[0-9]+ \(cmake_policy\):
|
|
Compatibility with CMake < 3\.5 will be removed from a future version of
|
|
CMake.
|
|
|
|
Update the VERSION argument <min> value or use a \.\.\.<max> suffix to tell
|
|
CMake that the project does not need compatibility with older versions\.
|
|
+(Error\(s\) when building project
|
|
)?ctest_build returned zero$
|