mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
Merge topic 'doc-CMAKE_APPLE_SILICON_PROCESSOR' into release-3.20
3f04f69733 Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain file
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5965
This commit is contained in:
@@ -8,8 +8,7 @@ CMake what architecture to use for :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`.
|
||||
The value must be either ``arm64`` or ``x86_64``.
|
||||
|
||||
The value of this variable should never be modified by project code.
|
||||
It is meant to be set by a toolchain file specified by the
|
||||
:variable:`CMAKE_TOOLCHAIN_FILE` variable, or as a cache entry
|
||||
provided by the user, e.g. via ``-DCMAKE_APPLE_SILICON_PROCESSOR=...``.
|
||||
It is meant to be set as a cache entry provided by the user,
|
||||
e.g. via ``-DCMAKE_APPLE_SILICON_PROCESSOR=...``.
|
||||
|
||||
See also the :envvar:`CMAKE_APPLE_SILICON_PROCESSOR` environment variable.
|
||||
|
||||
Reference in New Issue
Block a user