### Navigation

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

# CMAKE_CROSSCOMPILING

Is CMake currently cross compiling.

This variable will be set to true by CMake if CMake is cross compiling. Specifically if the build platform is different from the target platform.

### Navigation

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