CMAKE_SYSTEM_PROCESSOR
The name of the CPU CMake is building for.
This variable is the same as CMAKE_HOST_SYSTEM_PROCESSOR
if you build for the host system instead of the target system when cross compiling.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/variable/CMAKE_SYSTEM_PROCESSOR.html