New in version 3.27.
These modules have been deprecated since CMake 3.12. CMake 3.27 and above prefer to not provide the modules. This policy provides compatibility for projects that have not been ported away from them.
OLD behavior of this policy is for
find_package(PythonLibs) to load the deprecated modules. The
behavior is for uses of the modules to fail as if they do not exist.
This policy was introduced in CMake version 3.27. CMake version
3.28.20231208-g1eee1a4 warns when the policy is not set and uses
cmake_policy() command to set it to
OLD behavior of a policy is
deprecated by definition
and may be removed in a future version of CMake.