mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 03:45:24 +00:00
build: Fix undefined reference to u_sink_create_queue
When XRT_FEATURE_SLAM is on, t_euroc_recorder.cpp is linked. This depends on u_sink_queue.c.
This commit is contained in:
parent
cd2f204414
commit
bf66a9595c
|
@ -40,7 +40,11 @@ if(XRT_HAVE_OPENCV)
|
|||
t_tracker_psvr.cpp
|
||||
)
|
||||
target_include_directories(aux_tracking SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
|
||||
target_link_libraries(aux_tracking PUBLIC ${OpenCV_LIBRARIES})
|
||||
target_link_libraries(
|
||||
aux_tracking
|
||||
PUBLIC ${OpenCV_LIBRARIES}
|
||||
PRIVATE aux_util_sink
|
||||
)
|
||||
endif()
|
||||
|
||||
if(XRT_FEATURE_SLAM)
|
||||
|
|
Loading…
Reference in a new issue