The open source OpenXR runtime
0
fork

Configure Feed

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

c/render: Make library usable on it's own in cmake

+5 -3
+5 -3
src/xrt/compositor/CMakeLists.txt
··· 124 124 render/render_shaders.c 125 125 render/render_util.c 126 126 ) 127 + # The aux_vk library needs to be public to include Vulkan. 127 128 target_link_libraries( 128 129 comp_render 129 - PUBLIC xrt-interfaces 130 - PRIVATE aux_util aux_os aux_vk 130 + PUBLIC xrt-interfaces aux_vk 131 + PRIVATE aux_util aux_os 131 132 ) 132 - target_include_directories(comp_render PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) 133 + # So it can be used without any other compositor libraries. 134 + target_include_directories(comp_render PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 133 135 # Shaders - marked SYSTEM so we get no warnings 134 136 target_include_directories(comp_render SYSTEM PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) 135 137