CMAKE_SYSTEM — CMake 3.4.3 Documentation

### Navigation

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

# CMAKE_SYSTEM

Composite name of operating system 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.4.3 Documentation »
- cmake-variables(7) »