zephyr/doc/develop/getting_started
Torsten Rasmussen 3a9b2a3e83 cmake: recommend CMake >=3.20.5 as minimum CMake version
CMake versions <3.20.5 contains the following bug:
https://gitlab.kitware.com/cmake/cmake/-/issues/22310

This bug was fixed in CMake 3.20.5:
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6232

Generally Zephyr can build with CMake >=3.20.0, however the
`cmake/package_helper.cmake` is impacted by the above issue.

Therefore, specifically request CMake >=3.20.5 for package helper
and update documentation to recommend CMake version 3.20.5 in order
to minimize risk of users being impacted by this bug.

Users invoking package helper with CMake 3.20.0-3.20.4 will see:
> CMake Error at cmake/package_helper.cmake:45 (cmake_minimum_required):
>  CMake 3.20.5 or higher is required.  You are running version 3.20.x

Rest of Zephyr still builds with CMake versions >=3.20.0.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2023-03-07 18:15:58 +01:00
..
img
index.rst cmake: recommend CMake >=3.20.5 as minimum CMake version 2023-03-07 18:15:58 +01:00
installation_linux.rst doc: Update to Zephyr SDK 0.15.2 2022-11-24 07:35:13 -05:00
installation_mac.rst doc: toolchains: Add pages for individual toolchains 2022-06-01 15:26:48 +02:00
installation_win.rst doc: toolchains: Add Zephyr SDK documentation 2022-06-01 15:26:48 +02:00