CMAKE_OSX_ARCHITECTURES — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »

# CMAKE_OSX_ARCHITECTURES

Target specific architectures for OS X.

This variable is used to initialize the `OSX_ARCHITECTURES` property on each target as it is creaed. See that target property for additional information.

The value of this variable should be set prior to the first `project()` or `enable_language()` command invocation because it may influence configuration of the toolchain and flags. It is intended to be set locally by the user creating a build tree.

This variable is ignored on platforms other than OS X.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »