mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Use standard cmake args instead of old -H
This commit is contained in:
parent
279bcd1bf2
commit
6ff002b4ed
1 changed files with 3 additions and 3 deletions
|
@ -229,14 +229,14 @@ Make sure to install the `MSVC 2017 64-bit` toolset for at least Qt 5.10
|
||||||
We can now build nheko:
|
We can now build nheko:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
|
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build build
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
|
||||||
To use bundled dependencies you can use hunter, i.e.:
|
To use bundled dependencies you can use hunter, i.e.:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cmake -H. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF
|
cmake -S. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ You might need to pass `-DCMAKE_PREFIX_PATH` to cmake to point it at your qt5 in
|
||||||
e.g on macOS
|
e.g on macOS
|
||||||
|
|
||||||
```
|
```
|
||||||
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
|
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
|
||||||
cmake --build build
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue