mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/prober: use RS_SOURCE_INDEX only if XRT_HAVE_OPENCV and XRT_BUILD_DRIVER_REALSENSE are defined
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2272>
This commit is contained in:
parent
6f32def5f9
commit
4da8066140
|
@ -34,7 +34,7 @@
|
|||
DEBUG_GET_ONCE_OPTION(euroc_path, "EUROC_PATH", NULL)
|
||||
#endif
|
||||
|
||||
#ifdef XRT_BUILD_DRIVER_REALSENSE
|
||||
#if defined(XRT_HAVE_OPENCV) && defined(XRT_BUILD_DRIVER_REALSENSE)
|
||||
#include "util/u_debug.h"
|
||||
DEBUG_GET_ONCE_NUM_OPTION(rs_source_index, "RS_SOURCE_INDEX", -1)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue