mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 05:18:03 +00:00
build/meson: Allow disabling tracking
The tracking code uses ifdefs with XRT_HAVE_OPENCV.
This commit is contained in:
parent
dad5c6d5d8
commit
aab94e7add
|
@ -35,7 +35,7 @@ option('gui',
|
|||
option('tracking',
|
||||
type: 'feature',
|
||||
value: 'auto',
|
||||
description: 'Enable tracking support')
|
||||
description: 'Enable camera tracking support (disabling this will disable OpenCV support)')
|
||||
|
||||
option('install-active-runtime',
|
||||
type: 'boolean',
|
||||
|
|
|
@ -48,7 +48,7 @@ if libuvc.found()
|
|||
have_conf.set('XRT_HAVE_LIBUVC', true)
|
||||
endif
|
||||
|
||||
if opencv.found()
|
||||
if opencv.found() and build_tracking
|
||||
have_conf.set('XRT_HAVE_OPENCV', true)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue