Files
Robert Maynard 39a56136a3 Diagnostic: Add warn or error on absolute install paths
Add `-Winstall-absolute-destination` diagnostic to warn or
error when an install command has an absolute destination.

This allow projects to enforce the best practice of not allowing
absolute install DESTINATIONS.
2026-04-29 09:22:29 -04:00

6 lines
121 B
CMake

include(Assertions.cmake)
expect_cached(CMD_UNINITIALIZED IGNORE)
expect_cached(CMD_INSTALL_ABSOLUTE_DESTINATION WARN)