1CMAKE_APPLE_SILICON_PROCESSOR
2-----------------------------
3
4.. versionadded:: 3.19.2
5
6On Apple Silicon hosts running macOS, set this variable to tell
7CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
8The value must be either ``arm64`` or ``x86_64``.
9
10The value of this variable should never be modified by project code.
11It is meant to be set as a cache entry provided by the user,
12e.g. via ``-DCMAKE_APPLE_SILICON_PROCESSOR=...``.
13
14See also the :envvar:`CMAKE_APPLE_SILICON_PROCESSOR` environment variable.
15