CMAKE_SYSTEM — CMake 3.3.1 Documentation

### Navigation

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

# CMAKE_SYSTEM

Composit Name of OS CMake is compiling for.

This variable is the composite of `CMAKE_SYSTEM_NAME` and `CMAKE_SYSTEM_VERSION`, e.g. `${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}`. If `CMAKE_SYSTEM_VERSION` is not set, then this variable is the same as `CMAKE_SYSTEM_NAME`.

### Navigation

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