Nuand / bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
Other
1.15k stars 459 forks source link

[libbladeRF] libusb not found on OSX Mavericks (without pkg-config from MacPorts) #242

Closed jynik closed 10 years ago

jynik commented 10 years ago

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:

jynik commented 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 ../
jynik commented 10 years ago

Resolved in 288258d58ef32d89852cd707dd21ebe35168dbb9.