CMAKE_HOST_SYSTEM_NAME — CMake 3.3.1 Documentation

### Navigation

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

# CMAKE_HOST_SYSTEM_NAME

Name of the OS CMake is running on.

On systems that have the uname command, this variable is set to the output of uname -s. `Linux`, `Windows`, and `Darwin` for Mac OS X are the values found on the big three operating systems.

### Navigation

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