summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-01 14:22:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-01 14:23:13 (GMT)
commitf4a778c2eb322bd2e311297b19421504da99cfc7 (patch)
tree9f9408af1845645de277bd0c46c47e9f0e57ace2 /Help
parentf4b011f9b887d3bc254e9540b288e34f1fd49d70 (diff)
parent3f04f6973398a41dd0fcb7531210fcaffa1dfefb (diff)
downloadCMake-f4a778c2eb322bd2e311297b19421504da99cfc7.zip
CMake-f4a778c2eb322bd2e311297b19421504da99cfc7.tar.gz
CMake-f4a778c2eb322bd2e311297b19421504da99cfc7.tar.bz2
Merge topic 'doc-CMAKE_APPLE_SILICON_PROCESSOR'
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.rst5
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 ad297c3..0d5ccd1 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.