Commit 8e7002b7 authored by Alexis Girault's avatar Alexis Girault
Browse files

COMP: Update find VRPN for system LibUsb1

On Mac and Linux, libusb1 would be found
with other names.
parent a0db4ba0
......@@ -23,6 +23,7 @@ mark_as_advanced(VRPN_INCLUDE_DIR)
find_path(LIBUSB1_INCLUDE_DIR
NAMES
libusb.h
libusb-1.0/libusb.h
)
mark_as_advanced(LIBUSB1_INCLUDE_DIR)
......@@ -58,6 +59,7 @@ mark_as_advanced(QUAT_LIBRARY)
find_library(LIBUSB1_LIBRARY
NAMES
libusb-1.0
usb-1.0
)
mark_as_advanced(LIBUSB1_LIBRARY)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment