When running cmake with tracing of the top level CMakeLists.txt file, several policy warnings are are emitted. Many warnings are repeated for different targets.
When this bug was created for CMake version 3.22.1 there were 61 seperate warnings for the following policies:
- Policy CMP0102 is not set
- Policy CMP0126 is not set
- Policy CMP0082 is not set
- Policy CMP0112 is not set
For each policy it will be necessary to identify:
- Implications of the policy.
- How the policy is being violated.
- The appropriate policy setting.
- Implement corrections to the cmake scripts if required.
How to enable tracing:
--trace-source=CMakeLists.txt