From Get docs
Cmake/docs/3.21/envvar/cmake osx architectures


This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Target specific architectures for macOS.

The CMAKE_OSX_ARCHITECTURES environment variable sets the default value for the CMAKE_OSX_ARCHITECTURES variable. See OSX_ARCHITECTURES for more information.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.