### Navigation

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

# CMAKE_SYSTEM_VERSION

The OS version CMake is building for.

This variable is the same as `CMAKE_HOST_SYSTEM_VERSION` if you build for the host system instead of the target system when cross compiling.

### Navigation

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