README: update build instructions

This commit is contained in:
Mihai Fufezan 2024-01-07 18:59:26 +02:00
parent bad305c0bd
commit f2a8536d42
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ Then run the build and install command:
```sh
git clone --recursive https://github.com/hyprwm/xdg-desktop-portal-hyprland
cd xdg-desktop-portal-hyprland/
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -B build
cmake --install /usr
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build
sudo cmake --install build
```
## Running, FAQs, etc.