Skip to content

Extensions that are not CMake 4 compatible #2356

@jamesobutler

Description

@jamesobutler

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.

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):

Extension Name (Tier 5 bolded) CMake minimum version specified Updated?
AnglePlanesExtension 2.8.9
CMFReg 2.8.9
ChangeTracker 2.8.9
CurveMaker 2.8.9
*DICOMwebbrowser 2.8.9
DSCMRIAnalysis 2.8.7
DatabaseInteractor 2.8.9
*DebuggingTools 2.8.9 SlicerRt/SlicerDebuggingTools@c0f0a26
*DeveloperToolsForExtensions 2.8.9 Slicer/SlicerDeveloperToolsForExtensions@18f9ccc
EasyClip 2.8.9
ErodeDilateLabel 2.8.9
GyroGuide 2.8.9
IDCBrowser 2.8.9
ImageMaker 2.8.9
IntensitySegmenter 2.8.10
MeshStatisticsExtension 2.8.9
ModelClip 2.8.7 jamesobutler/ModelClip@6f2747a
NeedleFinder 2.8.9
OsteotomyPlanner 3.1
PET-IndiC 2.8.9
PETCPhantom 2.8.9
PETDICOMExtension 2.8.9
PETTumorSegmentation 2.8.9
PercutaneousApproachAnalysis 2.8.9
PerkTutor 2.8.7
PetSpectAnalysis 2.8.9
PickAndPaintExtension 2.8.9
Q3DC 2.8.9
ResectionPlanner 2.8.9
ScatteredTransform 2.8.9
SegmentRegistration 2.8.9
SegmentationAidedRegistration 2.8.9
*SequenceRegistration 2.8.9
SlicerFab 2.8.9
SlicerMarkupConstraints 2.8.9
SlicerRadiomics 3.1
SlicerToKiwiExporter 2.8.9
SoundControl 2.8.9
T1Mapping 2.8.9
T2Mapping 2.8.9
TCIABrowser 2.8.9
TrackingErrorInspector 2.8.9
VolumeClip 2.8.9
XNATSlicer 2.8.9
mpReview 3.0.1

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:

Extension Name (Tier 5 bolded) CMake minimum version specified Updated?
AstmPhantomTest 3.5
AutoScroll 3.5
BoneThicknessMapping 3.5
CarreraSlice 3.5
Chest_Imaging_Platform 3.5.0 (and 3.5.0)
DRRGenerator 3.5
DenseCorrespondenceAnalysis 3.5
DiffusionQC 3.5
FilmDosimetryAnalysis 3.5
FlywheelCaseIterator 3.5
GelDosimetryAnalysis 3.5
GeodesicSlicer 3.5
ImpactReg 3.5
ImpactSynth 3.5
KonfAI 3.5
MarkupsToModel 3.5
MatlabBridge 3.5
ModelCropper 3.5
ModelToModelDistance 3.5
OpenDose3D 3.5
OrthodonticAnalysis 3.5
PBNRR 3.5
PathReconstruction 3.5
PedicleScrewSimulator 3.5
PkModeling 3.5.0
QuantitativeReporting 3.5.0
RawImageGuess 3.5
RegistrationQA 3.5
Sandbox 3.5
SlicerSegmentEdtiorExtraEffects 3.5
SegmentMesher 3.7
ShapePopulationViewer 3.5
ShapeRegressionExtension 3.5
SlicerAIGT 3.5
SlicerBiomech 3.5
SlicerCaseIterator 3.5
SlicerCervicalSpine 3.5
SlicerCochlea 3.5
SlicerDcm2Nii 3.5
SlicerElastix 3.5
SlicerHeart 3.5
SlicerJupyter 3.8
SlicerLayoutButtons 3.5.0
SlicerMorph 3.5
SlicerOpenAnatomy 3.5
SlicerProstateAblation 3.5
SlicerVirtualReality 3.5
SurfaceWrapSolidify 3.5
TOMAAT 3.5
VASSTAlgorithms 3.5
ZFrameRegistration 3.5
flywheel_connect 3.5
lapdMouseBrowser 3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions