st/oxr: Only build state tracker when XRT_FEATURE_OPENXR is set

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2401>
This commit is contained in:
Jakob Bornecrantz 2024-01-24 00:29:44 +00:00 committed by Marge Bot
parent 574457b72c
commit 05e0160a32

View file

@ -4,7 +4,11 @@
if(XRT_HAVE_OPENGL)
add_subdirectory(gui)
endif()
add_subdirectory(oxr)
if(XRT_FEATURE_OPENXR)
add_subdirectory(oxr)
endif()
add_subdirectory(prober)
if(XRT_FEATURE_STEAMVR_PLUGIN)