d/psvr: Fix hidapi include

This commit is contained in:
Ryan Pavlik 2020-07-15 18:55:15 -07:00
parent 4220638afd
commit 2cce94799d
3 changed files with 3 additions and 2 deletions

View file

@ -120,6 +120,7 @@ if(XRT_BUILD_DRIVER_PSVR)
add_library(drv_psvr STATIC ${PSVR_SOURCE_FILES}) add_library(drv_psvr STATIC ${PSVR_SOURCE_FILES})
target_link_libraries(drv_psvr PRIVATE xrt-interfaces HIDAPI::hidapi aux_util) target_link_libraries(drv_psvr PRIVATE xrt-interfaces HIDAPI::hidapi aux_util)
target_include_directories(drv_psvr PRIVATE ${HIDAPI_INCLUDE_DIRS})
list(APPEND ENABLED_HEADSET_DRIVERS psvr) list(APPEND ENABLED_HEADSET_DRIVERS psvr)
endif() endif()

View file

@ -15,7 +15,7 @@
#include "xrt/xrt_device.h" #include "xrt/xrt_device.h"
#include "xrt/xrt_prober.h" #include "xrt/xrt_prober.h"
#include <hidapi/hidapi.h> #include <hidapi.h>
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -12,7 +12,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <wchar.h> #include <wchar.h>
#include <hidapi/hidapi.h> #include <hidapi.h>
#include "xrt/xrt_prober.h" #include "xrt/xrt_prober.h"
#include "util/u_misc.h" #include "util/u_misc.h"