The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tests: Only build st/oxr tests if XRT_FEATURE_OPENXR is set

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2401>

authored by

Jakob Bornecrantz and committed by
Marge Bot
574457b7 c1bf3c11

+9 -2
+9 -2
tests/CMakeLists.txt
··· 1 1 # Copyright 2018-2024, Collabora, Ltd. 2 + # Copyright 2024-2025, NVIDIA CORPORATION. 2 3 # 3 4 # SPDX-License-Identifier: BSL-1.0 4 5 ··· 8 9 tests_generic_callbacks 9 10 tests_history_buf 10 11 tests_id_ringbuffer 11 - tests_input_transform 12 12 tests_json 13 13 tests_lowpass_float 14 14 tests_lowpass_integer ··· 32 32 if(XRT_HAVE_VULKAN) 33 33 list(APPEND tests tests_comp_client_vulkan tests_uv_to_tangent) 34 34 endif() 35 + if(XRT_FEATURE_OPENXR) 36 + list(APPEND tests tests_input_transform) 37 + endif() 35 38 if(XRT_HAVE_OPENGL 36 39 AND XRT_HAVE_OPENGL_GLX 37 40 AND XRT_HAVE_SDL2 ··· 55 58 56 59 target_link_libraries(tests_cxx_wrappers PRIVATE xrt-interfaces) 57 60 target_link_libraries(tests_history_buf PRIVATE aux_math) 58 - target_link_libraries(tests_input_transform PRIVATE st_oxr xrt-interfaces xrt-external-openxr) 59 61 target_link_libraries(tests_lowpass_float PRIVATE aux_math) 60 62 target_link_libraries(tests_lowpass_integer PRIVATE aux_math) 61 63 target_link_libraries(tests_quatexpmap PRIVATE aux_math) ··· 97 99 target_link_libraries(tests_uv_to_tangent PRIVATE comp_render) 98 100 endif() 99 101 102 + if(XRT_FEATURE_OPENXR) 103 + target_link_libraries( 104 + tests_input_transform PRIVATE st_oxr xrt-interfaces xrt-external-openxr 105 + ) 106 + endif() 100 107 if(_have_opengl_test) 101 108 target_link_libraries( 102 109 tests_comp_client_opengl PRIVATE comp_client comp_mock aux_ogl SDL2::SDL2