CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

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


CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

Ask CPack to warn each time a file with absolute INSTALL DESTINATION is encountered.

This variable triggers the definition of CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs cmake_install.cmake scripts.

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