Skip to content

Modules:Check*: refactor: use block(SCOPE_FOR POLICIES)

scivision requested to merge scivision/cmake:use_block into master

CMake's own Modules didn't use block() that was added in 3.25. I tested CMake configure, build, test from CMake 3.20.6 using these changes.

Did not refactor Find* as Brad King has said previously people might copy them into their own projects that use older CMake.

Edited by scivision

Merge request reports