mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-17 14:10:57 +00:00
Avoid hardcoding /usr/local
as the prefix where Homebrew is installed.
parent
68631a7f06
commit
02895744da
2
Build.md
2
Build.md
@ -246,7 +246,7 @@ exec /opt/homebrew/bin/ccls --init='{"clang":{"extraArgs":[
|
||||
To build from source:
|
||||
```sh
|
||||
brew info llvm
|
||||
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/<Your Version>/lib/cmake
|
||||
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(brew --prefix llvm)/lib/cmake"
|
||||
cmake --build Release
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user