Skip to content

Commit

Permalink
Merge pull request #4122 from Be-ing/libusb_freebsd
Browse files Browse the repository at this point in the history
CMake: also search for libusb as 'usb' library without '-1.0'
  • Loading branch information
daschuer authored Jul 19, 2021
2 parents 5a700ab + 9d8256d commit 95e573e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/FindLibUSB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ find_path(LibUSB_INCLUDE_DIR
mark_as_advanced(LibUSB_INCLUDE_DIR)

find_library(LibUSB_LIBRARY
NAMES usb-1.0
NAMES usb-1.0 usb
PATHS ${PC_LibUSB_LIBRARY_DIRS}
DOC "LibUSB library"
)
Expand Down

0 comments on commit 95e573e

Please sign in to comment.