### Navigation

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

# CMAKE_HOST_SYSTEM

Composit Name of OS CMake is being run on.

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

### Navigation

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