Commit a100419d06
2025-04-06 08:25:39
1 parent
cf6c8eaChanged files (1)
cmake
cmake/Findlld.cmake
@@ -14,6 +14,7 @@ find_path(LLD_INCLUDE_DIRS NAMES lld/Common/Driver.h
/usr/local/llvm19/include
/usr/local/opt/lld@19/include
/opt/homebrew/opt/lld@19/include
+ /home/linuxbrew/.linuxbrew/opt/lld@19/include
/mingw64/include)
find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
@@ -24,6 +25,7 @@ find_library(LLD_LIBRARY NAMES lld-19.0 lld190 lld NAMES_PER_DIR
/usr/local/llvm19/lib
/usr/local/opt/lld@19/lib
/opt/homebrew/opt/lld@19/lib
+ /home/linuxbrew/.linuxbrew/opt/lld@19/lib
)
if(EXISTS ${LLD_LIBRARY})
set(LLD_LIBRARIES ${LLD_LIBRARY})
@@ -39,6 +41,7 @@ else()
/usr/local/llvm19/lib
/usr/local/opt/lld@19/lib
/opt/homebrew/opt/lld@19/lib
+ /home/linuxbrew/.linuxbrew/opt/lld@19/lib
/mingw64/lib
/c/msys64/mingw64/lib
c:/msys64/mingw64/lib)