monado/src/xrt/targets/meson.build

47 lines
670 B
Meson
Raw Normal View History

2019-09-24 13:43:43 +00:00
# Copyright 2019, Collabora, Ltd.
# SPDX-License-Identifier: BSL-1.0
driver_libs = []
driver_deps = []
if libusb.found()
driver_deps += [libusb]
endif
if libjpeg.found()
driver_deps += [libjpeg]
endif
if 'hdk' in drivers
driver_libs += [lib_drv_hdk]
endif
if 'hydra' in drivers
driver_libs += [lib_drv_hydra]
endif
if 'ohmd' in drivers
driver_libs += [lib_drv_ohmd]
endif
if 'psmv' in drivers
driver_libs += [lib_drv_psmv]
endif
if 'psvr' in drivers
driver_libs += [lib_drv_psvr]
endif
if 'v4l2' in drivers
driver_libs += [lib_drv_v4l2]
driver_deps += [v4l2]
endif
subdir('common')
subdir('openxr')
subdir('cli')
if sdl2.found()
subdir('gui')
endif