CMD_INSTALL_ABSOLUTE_DESTINATION
Added in version 4.4.
- Command Line:
- Presets:
-
warnings.installAbsoluteDestination,errors.installAbsoluteDestination - Default:
-
Ignore
- Parent:
Warn when an install() command specifies an absolute DESTINATION path. Absolute destinations are typically undesirable because they prevent the installation prefix from being overridden at install time.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/diagnostic/CMD_INSTALL_ABSOLUTE_DESTINATION.html