The open source OpenXR runtime
0
fork

Configure Feed

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

d/rs: Use realsense2::realsense2 in cmake

Not sure if this is the correct thing todo as the librealsense example
doesn't use the realsense2::realsense2 form.

https://github.com/IntelRealSense/librealsense/blob/master/examples/cmake/CMakeLists.txt

authored by

Jakob Bornecrantz and committed by
Ryan Pavlik
a03d1fbf 59f0d0ff

+1 -4
+1 -4
src/xrt/drivers/CMakeLists.txt
··· 104 104 ) 105 105 106 106 add_library(drv_rs STATIC ${RS_SOURCE_FILES}) 107 - target_link_libraries(drv_rs PRIVATE xrt-interfaces ${realsense2_LIBRARY} aux_util) 108 - target_include_directories(drv_rs SYSTEM 109 - PRIVATE ${realsense2_INCLUDE_DIR} 110 - ) 107 + target_link_libraries(drv_rs PRIVATE xrt-interfaces realsense2::realsense2 aux_util) 111 108 list(APPEND ENABLED_HEADSET_DRIVERS rs) 112 109 endif() 113 110