# CMake 3.21.2 available for download

**URL:** https://discourse.cmake.org/t/cmake-3-21-2-available-for-download/3979
**Category:** Announcements
**Created:** [August 25, 2021, 4:34pm UTC](https://discourse.cmake.org/t/cmake-3-21-2-available-for-download/3979 "2021-08-25T16:34:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tom\_Osika](https://discourse.cmake.org/user_avatar/discourse.cmake.org/tom_osika/32/1101_2.png) [@Tom\_Osika](https://discourse.cmake.org/u/Tom_Osika)
#### Post date: [August 25, 2021, 4:34pm UTC](https://discourse.cmake.org/t/cmake-3-21-2-available-for-download/3979/1 "2021-08-25T16:34:38Z")

</div>

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/](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
