https://github.com/Kitware/CMake
Raw File
Tip revision: 8c562ece28b7a13ddb734b8c51710ebafe9ac570 authored by Brad King on 23 June 2022, 14:58:01 UTC
CMake 3.24.0-rc2
Tip revision: 8c562ec
CMAKE_APPLE_SILICON_PROCESSOR.rst
CMAKE_APPLE_SILICON_PROCESSOR
-----------------------------

.. versionadded:: 3.19.2

.. include:: ENV_VAR.txt

On Apple Silicon hosts running macOS, set this environment variable to tell
CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
The value must be either ``arm64`` or ``x86_64``.

The :variable:`CMAKE_APPLE_SILICON_PROCESSOR` normal variable, if set,
overrides this environment variable.
back to top