CMake 3.19 release as of 3.19.2 now comes with support for Apple Silicon, environment variable editor, and several other fixes and improvements
Kitware recently announced the CMake 3.19 Release. This version comes with a host of new features which will be highlighted below.
ISPC is now supported as a first-class language that can be enabled via the project() and enable_language() commands. It is currently supported by the Makefile Generators and the Ninja generator on Linux, macOS, and Windows using the Intel ISPC compiler. Meanwhile, CUDA language support now works on QNX.
The CMake GUI now has an environment variable editor while in the command-line, the tool’s –install mode now has a –default-directory-permissions option as well as a -E create_hardlink command-line tool that can be used to create hard links between files.
As for deprecated and removed Features, compatibility with versions of CMake older than 2.8.12 is now deprecated and will be removed from future versions. macOS SDKs older than 10.5 are no longer supported.
Apple Silicon is now supported since CMake 3.19.2. With this, the CMAKE_APPLE_SILICON_PROCESSOR variable or CMAKE_APPLE_SILICON_PROCESSOR environment variable may be set to specify a host architecture explicitly. If not set CMake adds explicit flags to tell the compiler to build for the CMAKE_HOST_SYSTEM_PROCESSOR. Building for macOS will now use the latest SDK available on the system unless the user has explicitly chosen an SDK using CMAKE_OSX_SYSROOT.
For these and more details about the CMake 3.19 release, you can visit the official release notes to learn more. Other than that you may visit the download page here to get started with this latest version.