[lld][CMake] Use `GNUInstallDirs` to support custom installation dirs
authorJohn Ericson <John.Ericson@Obsidian.Systems>
Thu, 30 Dec 2021 06:22:48 +0000 (06:22 +0000)
committerJohn Ericson <John.Ericson@Obsidian.Systems>
Fri, 31 Dec 2021 18:57:57 +0000 (18:57 +0000)
commit896537048df70762b5b0051a0e1b065a74e8d0ce
treebbabbda09e4a84e4c8f5d1c8637f6171a4a8611f
parent255ee643a8c559375a9c9787ef7d121790040818
[lld][CMake] Use `GNUInstallDirs` to support custom installation dirs

Extracted from D99484. My new plan is to start from the outside and work
inward.

Reviewed By: stephenneuendorffer

Differential Revision: https://reviews.llvm.org/D115568
lld/CMakeLists.txt
lld/cmake/modules/AddLLD.cmake
lld/cmake/modules/CMakeLists.txt
lld/tools/lld/CMakeLists.txt