mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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
121 B
CMake
6 lines
121 B
CMake
include(Assertions.cmake)
|
|
|
|
expect_cached(CMD_UNINITIALIZED IGNORE)
|
|
|
|
expect_cached(CMD_INSTALL_ABSOLUTE_DESTINATION WARN)
|