Merge pull request #9501 from leoetlino/hidapi-libusb
hidapi: Use LIBUSB_LIBRARIES to link to libusb
This commit is contained in:
commit
c5ee86c75c
|
@ -14,7 +14,7 @@ else()
|
|||
target_link_libraries(hidapi PRIVATE udev)
|
||||
else()
|
||||
target_sources(hidapi PRIVATE libusb/hid.c)
|
||||
target_link_libraries(hidapi PRIVATE usb)
|
||||
target_link_libraries(hidapi PRIVATE ${LIBUSB_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue