mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(docs): Add brew prefix to macOS build instructions
Update brew's qt5 to qt@5, following brew naming deprecation.
This commit is contained in:
parent
8a7461fc16
commit
3c682abc69
|
@ -25,7 +25,7 @@ build_qtox() {
|
|||
-DSPELL_CHECK=OFF \
|
||||
-DSTRICT_OPTIONS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH="$(brew --prefix qt5)" .
|
||||
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5)" .
|
||||
make -j$(sysctl -n hw.ncpu)
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
ctest -j$(sysctl -n hw.ncpu)
|
||||
|
|
|
@ -62,7 +62,7 @@ if(APPLE)
|
|||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND brew --prefix qt5
|
||||
COMMAND brew --prefix qt@5
|
||||
OUTPUT_VARIABLE QT_PREFIX_PATH
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
|
|
|
@ -446,7 +446,7 @@ Finally, build qTox.
|
|||
```bash
|
||||
mkdir -p _build
|
||||
cd _build
|
||||
cmake ..
|
||||
cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5)
|
||||
make -j$(sysctl -n hw.ncpu)
|
||||
make install
|
||||
```
|
||||
|
|
|
@ -11,7 +11,7 @@ brew "cmake"
|
|||
brew "ffmpeg"
|
||||
brew "libexif"
|
||||
brew "qrencode"
|
||||
brew "qt5"
|
||||
brew "qt@5"
|
||||
brew "sqlcipher"
|
||||
brew "openal-soft"
|
||||
brew "msgpack"
|
||||
|
|
Loading…
Reference in New Issue
Block a user