README: Update build instructions (#4)

This commit is contained in:
sslater11 2024-06-25 00:18:45 +01:00 committed by GitHub
parent 7a2c2c96ec
commit 5606bf985b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ Hyprutils depends on the ABI stability of the stdlib implementation of your comp
## Building
```sh
git clone https://github.com/hyprwm/hyprutils.git
cd hyprutils/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
sudo cmake --install build
```