mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-03 12:28:07 +00:00
build/meson: Don't build slam if tracking is disabled
Fixes build with -Dtracking=disabled
This commit is contained in:
parent
ec5b5f9e1d
commit
dc15dbf75d
|
@ -104,7 +104,7 @@ if libbsd.found() and not get_option('libbsd').disabled()
|
|||
have_conf.set('XRT_HAVE_LIBBSD', true)
|
||||
endif
|
||||
|
||||
if slam.found()
|
||||
if slam.found() and build_tracking
|
||||
have_conf.set('XRT_HAVE_SLAM', true)
|
||||
if slam.name() == 'kimera_vio'
|
||||
have_conf.set('XRT_HAVE_KIMERA_SLAM', true)
|
||||
|
|
Loading…
Reference in a new issue