Closed jynik closed 10 years ago
With OSX's libusb being in /usr/local, I would have suspected the following would be a workaround. However this has been found to not work:
cmake -DLIBUSB_PATH=/usr/local -DLIBUSB_LIBRARY_PATH_SUFFIX=lib ../
Resolved in 288258d58ef32d89852cd707dd21ebe35168dbb9.
It has been reported that the FindLibUSB.cmake cannot find libusb on OSX Mavericks, when pkg-config from MacPorts is not installed.
Further investigation into this is required.
After looking at the script, I think a few changes may need to be added, regardless of the underlying cause: