CMake 3.21.2 available for download

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

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

Thanks for your support!


Changes made since CMake 3.21.1:

Alexey Edelev (1):

  • AUTOUIC: Add test for cyclic dependency between UI headers and timestamp

Artur Samarin (1):

  • CPackRPM: avoid a spurious ; in the %pre and other sections
    with scripts

Ben Boeckel (2):

  • FindMPI: do not detect -framework as a compile flag
  • GNUInstallDirs: avoid unwanted variable dereference

Brad King (7):

  • VS: Fix assertion failure on INCLUDE_DIRECTORIES in INTERFACE libraries
  • VS: Fix /reference and /headerUnit flag table entries for v142 and v143
  • CheckLanguage: Avoid CMP0126 warning
  • AUTOUIC: Revert “Fix generating of dependency rules for UI header files”
  • VS: Add special case for ‘-T version=14.29.16.11’ under VS 16.11
  • VS: Update Visual Studio 17 2022 generator for Preview 3.1
  • CMake 3.21.2

Craig Scott (2):

  • Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM
  • Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE

Cristian Adam (1):

  • BinUtils: Avoid searching CMAKE_PREFIX_PATH

Evan Miller (1):

  • macOS: Restore support for Mac OS X 10.4 (Tiger)

Jessica Hamilton (1):

  • Platform/Haiku: Remove the include-once behavior

Kyle Edwards (2):

  • CMakePresets: Check presets with their own file version
  • CTest: Reset multi-options to persistent multi-options

Marc Chevrier (3):

  • add_custom_command(DEPFILE) independent from CMAKE_DEPENDS_USE_COMPILER
  • Help: get_filename_component: fix version info for cmake_path
  • FindPkgConfig: Restore legacy behavior when CMP0126 is set to NEW

Michael Hirsch (1):

  • Help: cmake_path: add missing parameter

Robert Maynard (3):

  • NVHPC: Support 21.07 change to ‘-MD’ where it behaves like gcc
  • NVHPC-CXX: Add support for C++20
  • NVHPC-C: Add support for C17

Thomas Bernard (1):

  • FindBinUtils: Fall back to ld for Clang without lld

WangBin (1):

  • Android: Fix NDK toolchain dir on arm64 mac

Raul Tambre (2):

  • CUDA/Clang: Fix separable compilation in non-root directories
    with Makefiles
  • CUDA/Clang: Simplify --register-link-binaries logic

Đoàn Trần Công Danh (1):

  • Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static libraries
1 Like