mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
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.
3 lines
49 B
CMake
3 lines
49 B
CMake
unset(CMAKE_SYSTEM_NAME)
|
|
include(GNUInstallDirs)
|