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:
Mateo de Mayo 2022-10-30 11:34:57 -03:00
parent cd2f204414
commit bf66a9595c

View file

@ -40,7 +40,11 @@ if(XRT_HAVE_OPENCV)
t_tracker_psvr.cpp t_tracker_psvr.cpp
) )
target_include_directories(aux_tracking SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS}) 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() endif()
if(XRT_FEATURE_SLAM) if(XRT_FEATURE_SLAM)