• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_APPLE_SILICON_PROCESSOR
2-----------------------------
3
4.. versionadded:: 3.19.2
5
6.. include:: ENV_VAR.txt
7
8On Apple Silicon hosts running macOS, set this environment variable to tell
9CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
10The value must be either ``arm64`` or ``x86_64``.
11
12The :variable:`CMAKE_APPLE_SILICON_PROCESSOR` normal variable, if set,
13overrides this environment variable.
14