diff options
Diffstat (limited to 'security/hyperhotp/files/patch-cmake_FindLibusb.cmake')
-rw-r--r-- | security/hyperhotp/files/patch-cmake_FindLibusb.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/hyperhotp/files/patch-cmake_FindLibusb.cmake b/security/hyperhotp/files/patch-cmake_FindLibusb.cmake new file mode 100644 index 000000000000..6a1c4fadafbf --- /dev/null +++ b/security/hyperhotp/files/patch-cmake_FindLibusb.cmake @@ -0,0 +1,19 @@ +--- cmake/FindLibusb.cmake.orig 2022-10-19 18:04:24 UTC ++++ cmake/FindLibusb.cmake +@@ -12,14 +12,14 @@ mark_as_advanced(Libusb_VERSION) + # Find header path + find_path( + Libusb_INCLUDE_DIR +- NAMES libusb-1.0/libusb.h ++ NAMES libusb.h + HINTS ${PC_Libusb_INCLUDE_DIRS}) + mark_as_advanced(Libusb_INCLUDE_DIR) + + # Find lib path + find_library( + Libusb_LIBRARIES +- NAMES usb-1.0 ++ NAMES usb + HINTS ${PC_Libusb_LIBRARY_DIRS}) + mark_as_advanced(Libusb_LIBRARIES) + |