Findusb

A find module for the libusb library.

Targets

usb::usb

The libusb library.

Cache variables

USB_INCLUDE_DIR

Include directory path for libusb. When searching for this path, the environment variable USB_INCLUDE_DIR is added to the search path.

USB_LIBRARY

Path to the prebuilt binary of the libusb library. When searching for this file, the environment variable USB_LIBRARY is added to the search path.

Environment variables

USB_INCLUDE_DIR

This environment variable, if set, is added to the search path when locating the USB_INCLUDE_DIR path.

USB_LIBRARY

This environment variable, if set, is added to the search path when locating the USB_LIBRARY path.