Make encoder options explicit in cmake

This commit is contained in:
Patrick Nicolas
2023-11-25 14:37:36 +01:00
parent 3700a97aed
commit 10fa78c21c
8 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ dnf swap mesa-va-drivers mesa-va-drivers-freeworld
### Compilation
From your checkout directory
```bash
cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWIVRN_USE_VAAPI=ON -DWIVRN_USE_X264=ON -DWIVRN_USE_NVENC=ON
cmake --build build-server
# Set WiVRn as the active OpenXR runtime, delete ~/.config/openxr/1/active_runtime.json after you are done using WiVRn