diff options
author | Brad King <brad.king@kitware.com> | 2020-06-12 12:41:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-18 13:52:05 (GMT) |
commit | 5845c218d771b517aa4294f0a90267e6f3f64891 (patch) | |
tree | 496f8fae5d48677d97df29b082771aa31fe76218 /Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt | |
parent | 7b07ccdd2b8d621211ee1642e8b62b005b0cd60f (diff) | |
download | CMake-5845c218d771b517aa4294f0a90267e6f3f64891.zip CMake-5845c218d771b517aa4294f0a90267e6f3f64891.tar.gz CMake-5845c218d771b517aa4294f0a90267e6f3f64891.tar.bz2 |
Deprecate compatibility with CMake versions older than 2.8.12
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 2.8.12.
Note that the effective policy version includes `...<max>` treatment.
This is important in combination with commit ca24b70d31 (Export: Specify
a policy range in exported files, 2020-05-16, v3.18.0-rc1~133^2).
Diffstat (limited to 'Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt')
-rw-r--r-- | Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt index a874466..81d26d2 100644 --- a/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt +++ b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt @@ -1,3 +1,12 @@ +^CMake Deprecation Warning at CompatBefore24.cmake:1 \(cmake_minimum_required\): + Compatibility with CMake < 2.8.12 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. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) ++ CMake Error in CMakeLists.txt: You have set CMAKE_BACKWARDS_COMPATIBILITY to a CMake version less than 2.4. This version of CMake only supports backwards compatibility with |