diff options
author | Brad King <brad.king@kitware.com> | 2021-04-01 14:22:39 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-04-01 10:23:13 -0400 |
commit | 78ff963f74e893f8a73cead716ca5cef8840dab5 (patch) | |
tree | 169e6a5819edac42e605b5df9e2a12c6645edef6 /Help | |
parent | 049757b8a8aae5471fe9a8421fc588e82d46bd02 (diff) | |
parent | 3f04f6973398a41dd0fcb7531210fcaffa1dfefb (diff) | |
download | cmake-78ff963f74e893f8a73cead716ca5cef8840dab5.tar.gz |
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
Diffstat (limited to 'Help')
-rw-r--r-- | Help/variable/CMAKE_APPLE_SILICON_PROCESSOR.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_APPLE_SILICON_PROCESSOR.rst b/Help/variable/CMAKE_APPLE_SILICON_PROCESSOR.rst index ad297c3d5d..0d5ccd1831 100644 --- a/Help/variable/CMAKE_APPLE_SILICON_PROCESSOR.rst +++ b/Help/variable/CMAKE_APPLE_SILICON_PROCESSOR.rst @@ -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. |