readme: set better install prefix for cmake

This commit is contained in:
Vaxry 2023-12-31 01:32:58 +01:00
parent 2a9c79f0aa
commit 0d7d03363b

View file

@ -9,7 +9,7 @@ It's user-friendly, easy to grasp, and easy to implement.
Building is done via CMake:
```sh
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
```
Install with: