mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 21:26:36 +00:00
meson: Define XRT_HAVE_HIDAPI if using it
This commit is contained in:
parent
b4f2bc88c8
commit
96314d4f76
|
@ -64,6 +64,10 @@ if sdl2.found()
|
|||
have_conf.set('XRT_HAVE_SDL2', true)
|
||||
endif
|
||||
|
||||
if hidapi.found() and 'psvr' in drivers
|
||||
have_conf.set('XRT_HAVE_HIDAPI', true)
|
||||
endif
|
||||
|
||||
if has_v4l2_header and 'v4l2' in drivers
|
||||
have_conf.set('XRT_HAVE_V4L2', true)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue