CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION — CMake 3.3.1 Documentation

### Navigation

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

# CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

Ask CPack to error out as soon as a file with absolute INSTALL DESTINATION is encountered.

The fatal error is emitted before the installation of the offending file takes place. Some CPack generators, like NSIS,enforce this internally. This variable triggers the definition ofCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runsVariables common to all CPack generators

### Navigation

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