CMake 4.0.4 available for download
September 9, 2025

We are pleased to announce that CMake 4.0.4 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.3: Ben Boeckel (1): QCC-CXX: use `-x c++` on 8+ Brad King (11): ci: update macOS jobs to use Xcode 16.4 Tests/RunCMake/CommandLine: Simplify --toolchain cases cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows VS: Drop outdated usage text about appending platform to generator name cmCurl: Suppress curl 8.15 deprecation warning for curl 8.[3-5] workaround CMakeDetermineCompilerABI: Make ABI info string more robust ctest: Restore default of no time limit for command-line `-T Test` step ctest: Restore default test timeout for command-line `-T Test` step Ninja: Fix regression with `.bat` wrapper around `ninja` cmCTestCurl: Avoid using undocumented type for CURLOPT_PROXYTYPE values CMake 4.0.4 Daniel Pfeifer (2): ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY Robert Maynard (4): CUDA: Make sure CUDA architectures are in order CUDA: Add CUDA 13.0 support to 'all' and 'all-major' architecture tables CUDA: Update CUDA tests to handle CUDA 13 deprecations Clang/CUDA: Support CUDA Toolkit 13 new include layout