
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 3.10.
Note that the effective policy version includes `...<max>` treatment.
Update the check from commit 3a4791548d
(Deprecate compatibility with
CMake versions older than 3.5, 2023-02-09, v3.27.0-rc1~508^2).
18 lines
838 B
Plaintext
18 lines
838 B
Plaintext
^CMake Deprecation Warning at CMakeLists\.txt:3 \(cmake_minimum_required\):
|
|
Compatibility with CMake < 3\.10 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\.
|
|
+
|
|
CMake Deprecation Warning at CMP0028-OLD-iface\.cmake:[0-9]+ \(cmake_policy\):
|
|
The OLD behavior for policy CMP0028 will be removed from a future version
|
|
of CMake\.
|
|
|
|
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
|
policies are deprecated and that a policy should be set to OLD only under
|
|
specific short-term circumstances. Projects should be ported to the NEW
|
|
behavior and not rely on setting a policy to OLD.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)$
|