mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-02-05 05:19:49 +01:00
Getting Started/Installation: fix cmake call, add NO_UWSM info
We haven't used Ninja in the Makefile in a long time, but I forgot to update the invocation here.
This commit is contained in:
parent
31fa60ddbd
commit
52d4a0cbba
1 changed files with 3 additions and 2 deletions
|
@ -498,12 +498,13 @@ Supported custom build flags:
|
|||
LEGACY_RENDERER - Compiles with the legacy renderer (see above)
|
||||
NO_XWAYLAND - Removes XWayland support
|
||||
NO_SYSTEMD - Removes systemd dependencies
|
||||
NO_UWSM - Does not install the hyprland-uwsm.desktop file
|
||||
```
|
||||
|
||||
Flags can be passed to CMake like this:
|
||||
|
||||
```bash
|
||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -D<FLAG>:STRING=true -B build -G Ninja
|
||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -D<FLAG>:STRING=true -B build
|
||||
```
|
||||
|
||||
Change `<FLAG>` to one of the custom build flags. Multiple flags can be used at
|
||||
|
@ -514,7 +515,7 @@ The `BUILD_TYPE` can also be changed to `Debug`.
|
|||
To build, run:
|
||||
|
||||
```bash
|
||||
cmake --build ./build --config Release --target all
|
||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||
```
|
||||
|
||||
If you configured in `Debug`, change the `--config` to `Debug` as well.
|
||||
|
|
Loading…
Reference in a new issue