The CMake policies CMP0002 and CMP0116 can now safely be removed. Setting CMake minimum version to 3.20 ensures that policies are set to NEW per default for those two policies: > The cmake_minimum_required() command does more than report an error > if a too-old version of CMake is used to build a project. It also sets > all policies introduced in that CMake version or earlier to NEW > behavior. CMP0002 was introduced in CMake 2.6 and was set to NEW. CMP0116 was introduced in CMake 3.20 and set to OLD because of: > Use the old CMake behaviour until we are updating the CMake 3.20 as > minimum required. This ensure that CMake >=3.20 will be consistent > with older CMakes. and can thus be removed as we are now having 3.20 as minimum required. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| boilerplate.cmake | ||