Skip to content
Permalink
Browse files
Merge pull request #9501 from leoetlino/hidapi-libusb
hidapi: Use LIBUSB_LIBRARIES to link to libusb
  • Loading branch information
leoetlino committed Feb 12, 2021
2 parents 09c9fdf + 6036680 commit c5ee86c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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()

0 comments on commit c5ee86c

Please sign in to comment.