CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

From Get docs
Cmake/docs/3.21/variable/cpack error on absolute install destination


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 of CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.html