psmoveapi
psmoveapi copied to clipboard
Building on arch linux fails because cmake is looking for both libusb and libusb-1.0
System : Manjaro linux (arch based)
Steps to reproduce: 1: Git clone repo 2: make new folder/dir named build 3: run cmake ..
it will fail with a message of libusb not installed, checking the cmakelist in (psmoveapi/src/utils/CMakeLists.txt) and I see that it checks for both libusb and libusb-1.0 instead of checking for if one or the other exists.
fix: Just make a simple check to see if one or the other exist and if they do setup those packages else print not installed message.