Skip to content

Commit 0a0da27

Browse files
committed
Fix LLD find hint for Homebrew pinned versions
1 parent a34a4fe commit 0a0da27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/FindHalide_LLVM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if (LLVM_FOUND)
7373
# Homebrew split the LLVM and LLD packages as of version 19, so
7474
# having multiple LLVM versions installed leads to the newest
7575
# LLD being found without this hint.
76-
"${LLVM_INSTALL_PREFIX}/../lld@${LLVM_VERSION_MAJOR}"
76+
"${LLVM_DIR}/../../../../lld@${LLVM_VERSION_MAJOR}"
7777
"${LLVM_DIR}/../lld"
7878
"${LLVM_DIR}/../lib/cmake/lld"
7979
)

0 commit comments

Comments
 (0)