diff options
author | Hector Martin | 2009-05-05 00:38:06 +0200 |
---|---|---|
committer | Hector Martin | 2009-05-05 00:38:06 +0200 |
commit | bd335df6954fe5e9419499820cd082c27de111f1 (patch) | |
tree | 4d7ccd2e767083baa2c41880081780de57665cf7 /Modules/FindUSB.cmake | |
parent | 9bf93e406de3a06cee0a1452bf1da3c6f697ee31 (diff) | |
download | usbmuxd-bd335df6954fe5e9419499820cd082c27de111f1.tar.gz usbmuxd-bd335df6954fe5e9419499820cd082c27de111f1.tar.bz2 |
Move usbmuxd to its own folder
Diffstat (limited to 'Modules/FindUSB.cmake')
-rw-r--r-- | Modules/FindUSB.cmake | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Modules/FindUSB.cmake b/Modules/FindUSB.cmake deleted file mode 100644 index d562b98..0000000 --- a/Modules/FindUSB.cmake +++ /dev/null @@ -1,31 +0,0 @@ -# - Try to find libusb-1.0 -# Once done, this will define -# -# USB_FOUND - system has libusb-1.0 -# USB_INCLUDE_DIRS - the libusb-1.0 include directories -# USB_LIBRARIES - link these to use libusb-1.0 - -include(LibFindMacros) - -# Dependencies - -# Use pkg-config to get hints about paths -libfind_pkg_check_modules(USB_PKGCONF libusb-1.0) - -# Include dir -find_path(USB_INCLUDE_DIR - NAMES libusb.h - PATHS ${USB_PKGCONF_INCLUDE_DIRS} -) - -# Finally the library itself -find_library(USB_LIBRARY - NAMES usb-1.0 - PATHS ${USB_PKGCONF_LIBRARY_DIRS} -) - -# Set the include dir variables and the libraries and let libfind_process do the rest. -# NOTE: Singular variables for this library, plural for libraries this this lib depends on. -set(USB_PROCESS_INCLUDES USB_INCLUDE_DIR) -set(USB_PROCESS_LIBS USB_LIBRARY) -libfind_process(USB) |