Commit 746cccca authored by Christoph Haag's avatar Christoph Haag
Browse files

meson: HDK driver does not depend on hidapi

parent dfd6691d
......@@ -89,7 +89,7 @@ drivers = get_option('drivers')
if 'ohmd' in drivers
openhmd_required = true
endif
if 'hdk' in drivers or 'psvr' in drivers
if 'psvr' in drivers
hidapi_required = true
endif
if 'v4l2' in drivers
......@@ -97,7 +97,7 @@ if 'v4l2' in drivers
endif
if 'auto' in drivers
drivers += ['psmv', 'hydra']
drivers += ['psmv', 'hydra', 'hdk']
endif
openhmd = dependency('openhmd', required: openhmd_required)
......@@ -114,9 +114,6 @@ if hidapi.found() and ('auto' in drivers or 'psvr' in drivers or 'hdk' in driver
if 'psvr' not in drivers
drivers += ['psvr']
endif
if 'hdk' not in drivers
drivers += ['hdk']
endif
endif
if zlib.found() and ('auto' in drivers or 'vive' in drivers)
......
......@@ -12,7 +12,7 @@ lib_drv_hdk = static_library(
'hdk/hdk_prober.c',
),
include_directories: xrt_include,
dependencies: [aux, hidapi],
dependencies: [aux],
build_by_default: 'hdk' in drivers,
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment