CMake 4.0.1 available for download

We are pleased to announce that CMake 4.0.1 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.0:

Brad King (16):

  • Help: Document CMAKE_UNITY_BUILD_RELOCATABLE variable
  • Help: Add 4.0 release note for UNITY_BUILD_RELOCATABLE
  • Help: Clarify wording of UNITY_BUILD_RELOCATABLE path alternatives
  • get_filename_component: Restore lexical preprocessing of REALPATH for compat
  • ci: update macOS jobs to use Xcode 16.3
  • FindXCTest: Pass -bundle_loader linker flag for test module more reliably Restore expansion of leading ‘~’ as home directory in input paths
  • Tests: Isolate RunCMake.LinkWarningAsError from -Werror flags in environment
  • Source: Simplify FindProgram calls
  • cmSystemTools: Restore FindProgram look-up of on-disk case on Windows
  • cmSystemTools: Simplify call to FindProgram for our own executable
  • Help: Document CMAKE_OSX_SYSROOT default change in 4.0
  • cmXCodeObject: Drop unused CoreFoundation header
  • FindXCTest: Fix test module generation for Xcode 16
  • Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT
  • CMake 4.0.1

Craig Scott (3):

  • Help: Fix inaccurate wording for CMAKE_XCODE_SCHEME_… variables
  • Help: Improve wording of docs related to MSVC runtime checks
  • Help: Fix typo in 4.0 release notes for CPack archive generator

Matthew Woehlke (2):

  • find_package: Restore component requirements in nested calls
  • find_package: Add minimal support for CPS multiple inclusion

Sergey Fedorov (2):

  • macOS: Define _DARWIN_C_SOURCE in more sources
  • Source: Include specific CoreFoundation headers instead of umbrella header