mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Since commit 84db8506ff (Deprecate compatibility with CMake versions older
than 3.10, 2024-10-03, v3.31.0-rc1~23^2) the `cmake_minimum_required` and
`cmake_policy` commands warn if the project does not enable policies as
of 3.10 or higher. Clarify the advice given in the warning message about
how to update the version specification, particularly without actually
requiring a newer minimum version of CMake.
21 lines
972 B
Plaintext
21 lines
972 B
Plaintext
^CMake Deprecation Warning at CMP0058-OLD-no\.cmake:[0-9] \(cmake_policy\):
|
|
Compatibility with CMake < 3\.10 will be removed from a future version of
|
|
CMake\.
|
|
|
|
Update the VERSION argument <min> value\. Or, use the <min>\.\.\.<max> syntax
|
|
to tell CMake that the project requires at least <min> but has been updated
|
|
to work with policies introduced by <max> or earlier\.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9] \(include\)
|
|
+
|
|
CMake Deprecation Warning at CMP0058-OLD-no\.cmake:[0-9]+ \(cmake_policy\):
|
|
The OLD behavior for policy CMP0058 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\)$
|