diff --git a/src/xrt/targets/CMakeLists.txt b/src/xrt/targets/CMakeLists.txt index ea2bc4c5f..8f3926a75 100644 --- a/src/xrt/targets/CMakeLists.txt +++ b/src/xrt/targets/CMakeLists.txt @@ -10,6 +10,10 @@ set(DRIVER_OBJECTS) set(DRIVER_LIBRARIES) +if(BUILD_WITH_LIBUSB) + list(APPEND DRIVER_LIBRARIES ${LIBUSB1_LIBRARIES}) +endif() + if(BUILD_DRIVER_HDK) set(XRT_BUILD_HDK TRUE) list(APPEND DRIVER_OBJECTS $)