Files
clang-p2996/llvm/cmake
serge-sans-paille 8d3ab9dfc4 Properly support LLVM_ENABLE_LLD on Windows
Currently, setting -DLLVM_ENABLE_LLD=ON on windows also requires setting
-DCMAKE_LINKER=lld-link.exe. This is both misleading and redundant.

Fix this by trying to find llvm-link.exe when -DLLVM_ENABLE_LLD=ON is
set and CMAKE_LINKER is not, and aborting otherwise.

Differential Revision: https://reviews.llvm.org/D140534
2022-12-22 20:07:25 +01:00
..

See docs/CMake.html for instructions on how to build LLVM with CMake.