mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
t/common: Link with Libusb1
This commit is contained in:
parent
1f0b43632c
commit
af7238ec21
|
@ -10,6 +10,10 @@
|
||||||
set(DRIVER_OBJECTS)
|
set(DRIVER_OBJECTS)
|
||||||
set(DRIVER_LIBRARIES)
|
set(DRIVER_LIBRARIES)
|
||||||
|
|
||||||
|
if(BUILD_WITH_LIBUSB)
|
||||||
|
list(APPEND DRIVER_LIBRARIES ${LIBUSB1_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(BUILD_DRIVER_HDK)
|
if(BUILD_DRIVER_HDK)
|
||||||
set(XRT_BUILD_HDK TRUE)
|
set(XRT_BUILD_HDK TRUE)
|
||||||
list(APPEND DRIVER_OBJECTS $<TARGET_OBJECTS:drv_hdk>)
|
list(APPEND DRIVER_OBJECTS $<TARGET_OBJECTS:drv_hdk>)
|
||||||
|
|
Loading…
Reference in a new issue