Merge pull request #177335 from Atemu/fix/monado

monado: fixes
This commit is contained in:
Pavol Rusnak 2022-06-12 00:32:09 +02:00 committed by GitHub
commit 2b56363d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,8 @@
, vulkan-loader , vulkan-loader
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
, libdrm
, zlib , zlib
# Set as 'false' to build monado without service support, i.e. allow VR # Set as 'false' to build monado without service support, i.e. allow VR
# applications linking against libopenxr_monado.so to use OpenXR standalone # applications linking against libopenxr_monado.so to use OpenXR standalone
@ -65,6 +67,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DXRT_FEATURE_SERVICE=${if serviceSupport then "ON" else "OFF"}" "-DXRT_FEATURE_SERVICE=${if serviceSupport then "ON" else "OFF"}"
"-DXRT_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH=ON"
]; ];
buildInputs = [ buildInputs = [
@ -95,7 +98,9 @@ stdenv.mkDerivation rec {
vulkan-headers vulkan-headers
vulkan-loader vulkan-loader
wayland wayland
wayland-scanner
wayland-protocols wayland-protocols
libdrm
zlib zlib
]; ];