monado: Use lib.cmakeBool

This commit is contained in:
Gavin John 2024-06-25 09:15:56 -05:00
parent 3ee40fd613
commit d44635fa98

View File

@ -79,11 +79,11 @@ stdenv.mkDerivation {
];
cmakeFlags = [
"-DXRT_FEATURE_SERVICE=${if serviceSupport then "ON" else "OFF"}"
"-DXRT_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH=ON"
"-DXRT_HAVE_TRACY=ON"
"-DXRT_FEATURE_TRACING=ON"
"-DXRT_HAVE_STEAM=ON"
(lib.cmakeBool "XRT_FEATURE_SERVICE" serviceSupport)
(lib.cmakeBool "XRT_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH" true)
(lib.cmakeBool "XRT_HAVE_TRACY" true)
(lib.cmakeBool "XRT_FEATURE_TRACING" true)
(lib.cmakeBool "XRT_HAVE_STEAM" true)
];
buildInputs = [