Files
CMake/Tests/RunCMake/GNUInstallDirs/NoSystem.cmake
Vitaly Lipatov c18ed7236d GNUInstallDirs: Warn when CMAKE_SYSTEM_NAME is not set
If a project writes `include(GNUInstallDirs)` before `project()` then
`CMAKE_SYSTEM_NAME` may not be set and an incorrect `LIBDIR` may be
computed.  Warn about this case.
2020-01-30 09:14:47 -05:00

3 lines
49 B
CMake

unset(CMAKE_SYSTEM_NAME)
include(GNUInstallDirs)