CMAKE_SYSTEM_VERSION — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 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.3.2 Documentation »
- cmake-variables(7) »