You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compatibility with versions of CMake older than 3.5 has been removed. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue an error. Note that calls to those commands can still support older versions of CMake by using their VERSION arguments' ... syntax. This requires only the version of CMake, but when running a newer version, sets policies up to the version.
Important
Latest Ubuntu 26.04 LTS (Resolute Raccoon) comes with CMake 4.2.3 by default.
Update Instructions
Example incompatibility: cmake_minimum_required(VERSION 2.8.9)
should be updated to the following
Example compatibility: cmake_minimum_required(VERSION 3.20.6...3.22.6 FATAL_ERROR)
from Slicer 5.10.0 source
Extensions that will error with CMake 4
Extensions that will error with CMake 4 (as of b4ceebd on May 17th 2026):
Background
As of CMake 4.0 (released March 28th 2025), compatibility with versions of CMake older than 3.5 has been removed. See https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features.
Important
Latest Ubuntu 26.04 LTS (Resolute Raccoon) comes with CMake 4.2.3 by default.
Update Instructions
Example incompatibility:
cmake_minimum_required(VERSION 2.8.9)should be updated to the following
Example compatibility:
cmake_minimum_required(VERSION 3.20.6...3.22.6 FATAL_ERROR)from Slicer 5.10.0 source
Extensions that will error with CMake 4
Extensions that will error with CMake 4 (as of b4ceebd on May 17th 2026):
Extensions that will throw deprecation warning with CMake 4
Extensions that will result in a deprecation warning with CMake 4 for specifying
cmake_minimum_version< 3.10: