From af7238ec213d9ddab73dea6bc99f384c7bdab816 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 28 Jun 2019 17:49:24 +0100 Subject: [PATCH] t/common: Link with Libusb1 --- src/xrt/targets/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 $)