CMAKE_APPLE_SILICON_PROCESSOR.rst 424 B

12345678910111213
  1. CMAKE_APPLE_SILICON_PROCESSOR
  2. -----------------------------
  3. .. versionadded:: 3.19.2
  4. .. include:: ENV_VAR.txt
  5. On Apple Silicon hosts running macOS, set this environment variable to tell
  6. CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
  7. The value must be either ``arm64`` or ``x86_64``.
  8. The :variable:`CMAKE_APPLE_SILICON_PROCESSOR` normal variable, if set,
  9. overrides this environment variable.