CMP0191

在 4.1 版被加入.

The FindCABLE module is removed.

CMake 4.0 and below provide the FindCABLE module, but the CABLE tool is no longer maintained. CMake 4.1 and above prefer to not provide the FindCABLE module. This policy provides compatibility for projects that have not been ported away from it.

The OLD behavior of this policy is for find_package(CABLE) to load the deprecated module. The NEW behavior is for find_package(CABLE) to fail as if the module does not exist.

This policy was introduced in CMake version 4.1. It may be set by cmake_policy() or cmake_minimum_required(). If it is not set, CMake warns, and uses OLD behavior.

備註

The OLD behavior of a policy is deprecated by definition and may be removed in a future version of CMake.