The open source OpenXR runtime
0
fork

Configure Feed

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

t/openxr: Use XRT_MODULE_IPC to decide if we do IPC build or not

This lets a external Monado user build the IPC layer and IPC enabled
libopenxr_thing.so without also building the service.

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

authored by

Jakob Bornecrantz and committed by
Marge Bot
cc2fa1ea 05e0160a

+2 -2
+1 -1
src/xrt/targets/openxr/CMakeLists.txt
··· 19 19 # Note: Order may matter in these lists! 20 20 target_link_libraries(${RUNTIME_TARGET} PUBLIC aux_vk aux_os aux_util aux_math) 21 21 22 - if(XRT_FEATURE_SERVICE) 22 + if(XRT_MODULE_IPC) 23 23 target_link_libraries(${RUNTIME_TARGET} PUBLIC st_oxr ipc_client comp_client) 24 24 else() 25 25 target_link_libraries(
+1 -1
src/xrt/targets/openxr/target.c
··· 11 11 #include "util/u_trace_marker.h" 12 12 13 13 14 - #ifdef XRT_FEATURE_SERVICE 14 + #ifdef XRT_MODULE_IPC 15 15 16 16 // Insert the on load constructor to setup trace marker. 17 17 U_TRACE_TARGET_SETUP(U_TRACE_WHICH_OPENXR)