Merge pull request #9501 from leoetlino/hidapi-libusb

hidapi: Use LIBUSB_LIBRARIES to link to libusb
This commit is contained in:
Léo Lam authored and GitHub committed 2021-02-12 12:37:45 +01:00
commit c5ee86c75c
1 file changed
+1 -1
+1 -1
View File
@@ -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()