Skip to content

Tests: Bump CMake minimum required in tests to 3.5

Brad King requested to merge brad.king/cmake:test-minver into master

CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from !4897 (merged), !5644 (merged), and !5979 (merged).

Also remove explicit cmake_policy settings made redundant by the version.

Merge request reports