[BUG] FindLIBUSB.cmake points to an old include and library paths
NickAlvar91 opened this issue · comments
NickAlvar91 commented
The findLIBUSB.cmake file points to folders that existed in "libusb-1.0.24"
FIND_PATH(LIBUSB_INCLUDE_DIR libusb.h
***HINTS $ENV{LIBUSB_ROOT}/include/libusb-1.0***
PATHS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS})
FIND_LIBRARY(LIBUSB_LIBRARIES NAMES libusb-1.0 usb-1.0 usb
***HINTS $ENV{LIBUSB_ROOT}/VS2019/MS32/static***
libusb1.0.24 path to "libusb-1.0.lib" ( $ENV{LIBUSB_ROOT}/VS2019/MS32/static)
libusb1.0.24 path to "libusb.h" ($ENV{LIBUSB_ROOT}/include/libusb-1.0)
In the version 1.0.26 (as of June 6, 2022)
will-v-pi commented
This has been fixed with picotool 2.0.0 if you download the latest libusb 1.0.27 release