CMake 3.20 or higher is now required to build Zephyr.

Rasmussen, Torsten

Zephyr now requires CMake version 3.20 or newer.


The docs has been updated with info on how to do this on systems that has an older CMake per default:

For Ubuntu users, an easy guide is found here:

The main reason for increasing CMake version is better toolchain
The decision to bump the CMake version was taken by the Toolchain WG.

Better toolchain support is added in the following CMake versions:

  • armclang, CMake 3.15
  • Intel oneAPI, CMake 3.20
  • IAR, CMake 3.15 and 3.20



Torsten Tejlmand Rasmussen

Senior R&D Engineer

P: +47 72 89 92 47




Nordic Semiconductor

Otto Nielsens veg 12, 7052 Trondheim, Norway



SM_symbol_FB  nordic_symbol_small_TW  nordic_symbol_small_YT_ny2  nordic_symbol_small_IN  





Yasushi SHOJI


On Fri, Aug 20, 2021 at 10:19 PM Rasmussen, Torsten <torsten.rasmussen@...> wrote:
> Zephyr now requires CMake version 3.20 or newer.

Here are some links related to this requirement bump:

- Working group minuets
- PR
- CI bump
- Debian package tracker
- Debian & Ubuntu package versions
- CMake releases
- CMake release history on PyPI