# Raise minimum CMake to 3.28.3 (Ubuntu 24.04 LTS)?

**URL:** <https://discourse.itk.org/t/raise-minimum-cmake-to-3-28-3-ubuntu-24-04-lts/7839>\
**Category:** Engineering\
**Created:** [November 27, 2026, 9:52pm UTC](https://discourse.itk.org/t/raise-minimum-cmake-to-3-28-3-ubuntu-24-04-lts/7839 "2026-11-27T21:52:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [November 27, 2026, 9:52pm UTC](https://discourse.itk.org/t/raise-minimum-cmake-to-3-28-3-ubuntu-24-04-lts/7839/1 "2026-11-27T21:52:20Z")

</div>

ITK requires CMake 3.22.1, the version in Ubuntu 22.04. Ubuntu 22.04’s standard support ends in April 2027, so I propose moving to **3.28.3** , the version in Ubuntu 24.04. A newer minimum would give us:

- **Header file sets (3.23).** Declaring each module’s `include/` as `FILE_SET HEADERS` replaces our hand-written header install, the build/install include paths, and the `GLOB_RECURSE` we use to list headers for IDEs. [InsightSoftwareConsortium/ITK#5801](https://github.com/InsightSoftwareConsortium/ITK/pull/5801) already supports this, but only as an optional path.
- **Header-set verification (3.24).** CMake compiles each public header on its own, which overlaps with our header tests.
- **List generator expressions (3.27).** Wrapping already depended on these once by accident and had to be backported ([#6191](https://github.com/InsightSoftwareConsortium/ITK/issues/6191)).
- **C++20 modules (3.28),** no longer experimental with Ninja. 3.28 also adds `EXCLUDE_FROM_ALL` for `FetchContent` users.

Ubuntu 22.04, Debian 12 (3.25.1) and RHEL 8/9 (3.26.5) would need CMake from `pip install cmake`, [apt.kitware.com](https://apt.kitware.com/) or [cmake.org](http://cmake.org). If that is too much, **3.26.5** still gets us file sets and header verification.

1. Would a newer CMake be a problem for anyone?
2. Should this go into ITK 6.0 or 6.1?
3. 3.28.3 or 3.26.5?
