mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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)
|