mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
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.
6 lines
135 B
CMake
6 lines
135 B
CMake
include(Assertions.cmake)
|
|
|
|
expect(CMD_AUTHOR IGNORE)
|
|
expect(CMD_INSTALL_ABSOLUTE_DESTINATION IGNORE)
|
|
expect(CMD_DEPRECATED SEND_ERROR)
|