mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-05 14:49:39 -06:00
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).
11 lines
187 B
CMake
11 lines
187 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(Before24)
|
|
run_cmake(CompatBefore24)
|
|
run_cmake(Future)
|
|
run_cmake(PolicyBefore24)
|
|
run_cmake(Before2812)
|
|
run_cmake(Range)
|
|
run_cmake(RangeBad)
|
|
run_cmake(Unknown)
|