CMake 4.0.5 available for download

November 19, 2025

We are pleased to announce that CMake 4.0.5 is now available for download.

Please use the latest release from our download page:
https://cmake.org/download/

See also the release notes and release milestone

Thanks for your support!

Changes made since CMake 4.0.4:

Ben Boeckel (2):
  Help/OPTIMIZE_DEPENDENCIES: move period outside of parenthetical
  Help/OPTIMIZE_DEPENDENCIES: xref with CMP0154 documentation

Brad King (26):
  Tests: Teach RunCMake to ignore Xcode an IDERunDestination warning
  ci: update macOS jobs to use Xcode 26.0
  bootstrap: Fix compilation with gcc 16 devirtualization
  Tests: Match RunCMake.find_package-CPS version candidates more precisely
  find_package: Avoid repeating search for lower-case .cps file
  Tests: Teach RunCMake to ignore Xcode an IDERunDestination warning
  macOS: Remove outdated condition for CMAKE_OSX_DEPLOYMENT_TARGET
  macOS: Avoid relying on sw_vers when cross-compiling from another OS
  Tests/FindBoost/TestPython: Improve python version list formatting
  ci: Add script to repackage macOS SDKs
  ci: Add script to install macOS SDK version 15.5
  ci: Revert packaging to macOS 15.5 SDK to restore cmake-gui rendering
  Apple: Initialize deployment target after SDK
  Xcode: Restore default CMAKE_OSX_DEPLOYMENT_TARGET to run on host
  Help: Add 4.0 release note for restored Xcode default deployment target
  Help: Fix typo in 3.31.9 release note heading
  execute_process: Restore support for short timeouts
  CPack/RPM: Backport "Remove redundant conditions for presence of rpmbuild"
  CPack/RPM: Backport "Fix detection of RPM support for weak dependencies"
  CPack: Backport "correctly perform querytags on old versions of RPM"
  Tests: Update expected Zstandard magic number for libarchive 3.8.2
  execute_process: Restore termination of processes on timeout
  ci: update macOS jobs to use Xcode 26.1
  Help: Improve string(JSON) synopsis document source readability
  Help: Avoid reST named references in string(JSON) synopsis
  CMake 4.0.5

Karolina Surma (1):
  FindPython: Add support for Python 3.15

Robert Maynard (1):
  find_package: Fix regression on `<PackageName>_ROOT` relative to CWD

Leave a Reply